{
  "info": {
    "_postman_id": "649159f1-0239-47e2-98e6-0d27ab9b35fc",
    "name": "Протокол 1.4 Оцифровка медицинских карт",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "48020210",
    "_collection_link": "https://go.postman.co/collection/48020210-649159f1-0239-47e2-98e6-0d27ab9b35fc?source=collection_link"
  },
  "item": [
    {
      "name": "Предварительные условия",
      "item": [
        {
          "name": "Достать врача и организацию из токена врача и добавить в переменную",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "const jwt = pm.request.auth?.oauth2?.get(\"accessToken\") || pm.request.auth?.bearer?.get(\"token\") || null;\r",
                  "console.log(jwt);\r",
                  "if (jwt) {\r",
                  "    let payload = jwt.split('.')[1];\r",
                  "    payload = payload.replace(/-/g, '+').replace(/_/g, '/');\r",
                  "    while (payload.length % 4) payload += '=';\r",
                  "    let decoded = JSON.parse(atob(payload));\r",
                  "    console.log(decoded)\r",
                  "    let practitionerId = decoded.practitioner_id || decoded.practitionerId || decoded[\"practitioner_id\"];\r",
                  "    let organizationId = decoded.organization_id || decoded.organizationId || decoded[\"organization_id\"];\r",
                  "    if (practitionerId) pm.environment.set(\"PractitionerId\", practitionerId);\r",
                  "    if (organizationId) pm.environment.set(\"OrganizationId\", organizationId);\r",
                  "} else {\r",
                  "    console.log(\"JWT токен не найден в переменных коллекции\");\r",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Fhir-By-Version",
                "value": "0.3.4934",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "https://postman-echo.com/get",
              "protocol": "https",
              "host": [
                "postman-echo",
                "com"
              ],
              "path": [
                "get"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Достать PractitionerRole врача (PractitionerRole)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "var jsonData = pm.response.json();\r\nlet practitionerRole = jsonData.entry.find(obj => obj.resource.resourceType === \"PractitionerRole\").resource.id;\r\n\r\npm.environment.set(\"PractitionerRole\", practitionerRole);\r\nconsole.log(practitionerRole)\r\nif (jsonData.entry && jsonData.entry.length > 1) {\r\n    var practitioner = jsonData.entry[1].resource;\r\n    if (practitioner.resourceType === \"PractitionerRole\") {\r\n        if (practitioner.practitioner) {\r\n            var nameData = practitioner.practitioner;\r\n            var fullName = \r\n                nameData.display;\r\n            \r\n            pm.environment.set(\"PractitionerName\", fullName);\r\n            console.log(\"ФИО сохранено: \" + fullName);\r\n        }\r\n    }\r\n}\r\nif (jsonData.entry && jsonData.entry.length > 1) {\r\n    var organization = jsonData.entry[1].resource;\r\n    if (organization.resourceType === \"PractitionerRole\") {\r\n        if (organization.organization) {\r\n            var orgData = organization.organization;\r\n            var orgName = \r\n                orgData.display;\r\n                        orgName = orgName.split('\"').join('\\\\\"');\r\n\r\n            if (typeof orgName === 'string') {\r\n                pm.environment.set(\"OrganizationName\", orgName);\r\n                console.log(\"Орг сохранено: \" + orgName);\r\n            }\r\n        }\r\n    }\r\n}\r\nif (jsonData.entry && jsonData.entry.length > 1) {\r\n    var name = jsonData.entry[1].resource;\r\n        if (name.resourceType === \"PractitionerRole\") {\r\n            var extensions = name.extension;       {\r\n                var positionExtContainer = extensions.find(function(ext) {\r\n                return ext.url === \"https://fhir.by/StructureDefinition/PractitionerPosition\" &&\r\n                       ext.extension; \r\n            });\r\n            if (positionExtContainer && positionExtContainer.extension) {\r\n                var positionTypeExt = positionExtContainer.extension.find(function(posExt) {\r\n                    return posExt.url === \"https://fhir.by/StructureDefinition/PractitionerPositionType\";\r\n                });\r\n                var roleDisplay = null;\r\n                if (positionTypeExt && positionTypeExt.valueCodeableConcept &&\r\n                    positionTypeExt.valueCodeableConcept.coding &&\r\n                    positionTypeExt.valueCodeableConcept.coding.length > 0) {\r\n                    roleDisplay = positionTypeExt.valueCodeableConcept.coding[0].display;\r\n                }\r\n                if (roleDisplay) {\r\n                    pm.environment.set(\"PractitionerRoleName\", roleDisplay);\r\n                    console.log(\"✅ PractitionerRole display saved: \" + roleDisplay);\r\n                }\r\n                return;\r\n            }\r\n        }\r\n}   }"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/PractitionerRole?practitioner={{PractitionerId}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "PractitionerRole"
              ],
              "query": [
                {
                  "key": "practitioner",
                  "value": "{{PractitionerId}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Достать структурное подразделение врача (LocationId)",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "let json = pm.response.json();\r",
                  "let locationValue = null;\r",
                  "\r",
                  "if (Array.isArray(json.entry)) {\r",
                  "    for (let entry of json.entry) {\r",
                  "        if (\r",
                  "            entry.resource &&\r",
                  "            entry.resource.resourceType === \"PractitionerRole\" &&\r",
                  "            Array.isArray(entry.resource.location) &&\r",
                  "            entry.resource.location.length > 0\r",
                  "        ) {\r",
                  "            // Берём reference первого location и извлекаем только UUID\r",
                  "            let ref = entry.resource.location[0].reference;\r",
                  "            if (typeof ref === \"string\" && ref.startsWith(\"Location/\")) {\r",
                  "                locationValue = ref.split(\"/\")[1]; // или: ref.replace(\"Location/\", \"\")\r",
                  "            }\r",
                  "            break;\r",
                  "        }\r",
                  "    }\r",
                  "}\r",
                  "\r",
                  "if (locationValue) {\r",
                  "    pm.environment.set(\"LocationId\", locationValue);\r",
                  "    console.log(\"location сохранён:\", locationValue);\r",
                  "} else {\r",
                  "    console.log(\"location не найден\");\r",
                  "}\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/PractitionerRole?_id={{PractitionerRole}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "PractitionerRole"
              ],
              "query": [
                {
                  "key": "_id",
                  "value": "{{PractitionerRole}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Ситуация 1. Пациент найден, все требуемые данные уже в ЦИСЗ",
      "item": [
        {
          "name": "Предварительные условия",
          "item": [
            {
              "name": "Метод создания пациента",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r\n    pm.response.to.have.status(202);\r\n});\r\n\r\nvar jsonData = pm.response.json();\r\nlet bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r\nlet statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r\n\r\nconsole.log(statusReference.valueReference.reference);\r\n\r\npm.collectionVariables.set(\"bundleId\", bundleId);\r\npm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r\n"
                    ]
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Fhir-By-Version",
                    "value": "active"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"resourceType\": \"Patient\",\r\n    \"id\": \"PatientTest\",\r\n    \"meta\": {\r\n        \"profile\": [\r\n            \"https://fhir.by/StructureDefinition/PatientWithIdentificationNumber\"\r\n        ]\r\n    },\r\n    \"extension\": [\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/IncapacityExtension\",\r\n            \"valueBoolean\": true\r\n        },\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/DisabilityGroup\",\r\n            \"valueCodeableConcept\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/DisabilityGroup\",\r\n                        \"code\": \"3_group\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/DisabilityReason\",\r\n            \"valueCodeableConcept\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/DisabilityReason\",\r\n                        \"code\": \"general\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientStudyPlace\",\r\n                    \"valueString\": \"БГУ\"\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientStudyKind\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/EducationKind\",\r\n                                \"code\": \"student\",\r\n                                \"display\": \"Студент очной формы обучения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientTermOfStudy\",\r\n                    \"valuePeriod\": {\r\n                        \"start\": \"2015-09-01\",\r\n                        \"end\": \"2019-08-01\"\r\n                    }\r\n                }\r\n            ],\r\n            \"url\": \"https://fhir.by/StructureDefinition/PatientStudy\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientJobProfession\",\r\n                    \"valueString\": \"Учитель начальных классов\"\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientJobProfessionCode\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/SpecialtyProfPerson\",\r\n                                \"code\": \"2331-001\",\r\n                                \"display\": \"Учитель\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientJobPlace\",\r\n                    \"valueString\": \"ГУО «Средняя школа № 15»\"\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/TermOFWork\",\r\n                    \"valuePeriod\": {\r\n                        \"start\": \"2020-09-01\"\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/MainJobPlace\",\r\n                    \"valueBoolean\": true\r\n                }\r\n            ],\r\n            \"url\": \"https://fhir.by/StructureDefinition/PatientJob\"\r\n        },\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/PatientPreferences\",\r\n            \"valueCodeableConcept\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/VSPatientPreferences\",\r\n                        \"code\": \"6\",\r\n                        \"display\": \"Дети-инвалиды в возрасте до 18 лет и дети в возрасте до 3 лет.\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean\",\r\n                    \"valueBoolean\": true\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod\",\r\n                    \"valuePeriod\": {\r\n                        \"start\": \"2026-01-15\"\r\n                    }\r\n                }\r\n            ],\r\n            \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalData\"\r\n        }\r\n    ],\r\n    \"identifier\": [\r\n        {\r\n            \"use\": \"usual\",\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                        \"version\": \"1.10\",\r\n                        \"code\": \"INP\",\r\n                        \"display\": \"Уникальный идентификационный номер\"\r\n                    }\r\n                ]\r\n            },\r\n            \"value\": \"7111235A009PB3\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"extension\": [\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedString\",\r\n                            \"valueString\": \"Центральным РУВД г Минска, 21.08.2021\"\r\n                        },\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedDate\",\r\n                            \"valueDate\": \"2022-08-21\"\r\n                        },\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedCode\",\r\n                            \"valueCodeableConcept\": {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/OCAM\",\r\n                                        \"version\": \"1.3\",\r\n                                        \"code\": \"Minsk\",\r\n                                        \"display\": \"Минск\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        }\r\n                    ],\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PassportIssued\"\r\n                }\r\n            ],\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                        \"version\": \"1.10\",\r\n                        \"code\": \"Passport-RB\",\r\n                        \"display\": \"Паспорт гражданина Республики Беларусь\"\r\n                    }\r\n                ]\r\n            },\r\n            \"value\": \"MM0123444\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"extension\": [\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedString\",\r\n                            \"valueString\": \"Гродненское областное учреждение здравоохранения 'Медико-реабилитационная экспертная комиссия'\"\r\n                        },\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedDate\",\r\n                            \"valueDate\": \"2022-08-21\"\r\n                        }\r\n                    ],\r\n                    \"url\": \"https://fhir.by/StructureDefinition/DocumentIssued\"\r\n                }\r\n            ],\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                        \"version\": \"1.10\",\r\n                        \"code\": \"CDP\",\r\n                        \"display\": \"Удостоверение инвалида\"\r\n                    }\r\n                ]\r\n            },\r\n            \"value\": \"CDP0123444\",\r\n            \"period\": {\r\n                \"start\": \"2022-08-21\",\r\n                \"end\": \"2027-08-20\"\r\n            }\r\n        }\r\n    ],\r\n    \"active\": true,\r\n    \"name\": [\r\n        {\r\n            \"family\": \"Кузнецова\",\r\n            \"given\": [\r\n                \"Нина\",\r\n                \"Петровна\"\r\n            ]\r\n        }\r\n    ],\r\n    \"telecom\": [\r\n        {\r\n            \"system\": \"email\",\r\n            \"value\": \"test_maill@mail.by\"\r\n        },\r\n        {\r\n            \"system\": \"phone\",\r\n            \"value\": \"+375297556655\"\r\n        }\r\n    ],\r\n    \"gender\": \"female\",\r\n    \"birthDate\": \"1989-12-01\",\r\n    \"deceasedBoolean\": false,\r\n    \"address\": [\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                \"version\": \"1.31\",\r\n                                \"code\": \"BY\",\r\n                                \"display\": \"Беларусь\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                \"version\": \"1.3\",\r\n                                \"code\": \"517030104916096191\",\r\n                                \"display\": \"д.24\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                    \"valueString\": \"кв. 1\"\r\n                }\r\n            ],\r\n            \"use\": \"home\",\r\n            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                \"version\": \"1.31\",\r\n                                \"code\": \"BY\",\r\n                                \"display\": \"Беларусь\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                \"version\": \"1.3\",\r\n                                \"code\": \"517030104916096191\",\r\n                                \"display\": \"д.24\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                    \"valueString\": \"кв. 1\"\r\n                }\r\n            ],\r\n            \"use\": \"temp\",\r\n            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n        }\r\n    ],\r\n    \"maritalStatus\": {\r\n        \"coding\": [\r\n            {\r\n                \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                \"version\": \"1.1\",\r\n                \"code\": \"married\",\r\n                \"display\": \"женат/замужем\"\r\n            }\r\n        ]\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Patient"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Поиск пациента в ЦИСЗ",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var jsonData = pm.response.json();\r",
                      "let patientId = jsonData.entry.find(obj => obj.resource.resourceType === \"Patient\").resource.id;\r",
                      "\r",
                      "pm.collectionVariables.set(\"patientId\", patientId);\r",
                      "console.log(patientId)"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient?identifier=7111235A009PB3",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Patient"
                  ],
                  "query": [
                    {
                      "key": "identifier",
                      "value": "7111235A009PB3"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Поиск ImagingStudyBasic",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "try {\r",
                      "  const json = pm.response.json();\r",
                      "\r",
                      "  const entry = json?.entry?.[0]?.resource;\r",
                      "  const exts = entry?.extension ?? [];\r",
                      "\r",
                      "  let StudyInstanceUID, SeriesInstanceUID, InstanceUID;\r",
                      "\r",
                      "  // 1) Через dicom-id\r",
                      "  const dicomExt = exts.find(e => e.url === 'dicom-id');\r",
                      "  if (dicomExt?.valueString) {\r",
                      "    const parts = dicomExt.valueString.split('/');\r",
                      "    if (parts.length >= 3) {\r",
                      "      StudyInstanceUID = parts[0];\r",
                      "      SeriesInstanceUID = parts[1];\r",
                      "      InstanceUID = parts[2];\r",
                      "    }\r",
                      "  }\r",
                      "\r",
                      "  // 2) Альтернативно — через отдельные extension\r",
                      "  if (!SeriesInstanceUID) {\r",
                      "    const serExt = exts.find(e => e.url === 'https://fhir.by/StructureDefinition/SeriesInstanceUID');\r",
                      "    if (serExt?.valueString) SeriesInstanceUID = serExt.valueString;\r",
                      "  }\r",
                      "  if (!InstanceUID) {\r",
                      "    const sopExt = exts.find(e => e.url === 'https://fhir.by/StructureDefinition/SOPInstanceUID');\r",
                      "    if (sopExt?.valueString) InstanceUID = sopExt.valueString;\r",
                      "  }\r",
                      "\r",
                      "  // Сохраняем в окружение (можно заменить на globals или collectionVariables)\r",
                      "  pm.collectionVariables.set('StudyInstanceUID', StudyInstanceUID ?? '');\r",
                      "  pm.collectionVariables.set('SeriesInstanceUID', SeriesInstanceUID ?? '');\r",
                      "  pm.collectionVariables.set('InstanceUID', InstanceUID ?? '');\r",
                      "\r",
                      "  // При желании можно залогировать результаты\r",
                      "  console.log('StudyInstanceUID:', StudyInstanceUID);\r",
                      "  console.log('SeriesInstanceUID:', SeriesInstanceUID);\r",
                      "  console.log('InstanceUID:', InstanceUID);\r",
                      "} catch (e) {\r",
                      "  console.error('Ошибка парсинга ответа FHIR:', e);\r",
                      "  // Можно установить пустые значения, чтобы не ломать последующие запросы\r",
                      "  pm.collectionVariables.set('StudyInstanceUID', '');\r",
                      "  pm.collectionVariables.set('SeriesInstanceUID', '');\r",
                      "  pm.collectionVariables.set('InstanceUID', '');\r",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Organization/{{OrganizationId}}/Basic?_profile=https://fhir.by/StructureDefinition/ImagingStudyBasic&_sort=-_lastUpdated",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Organization",
                    "{{OrganizationId}}",
                    "Basic"
                  ],
                  "query": [
                    {
                      "key": "_profile",
                      "value": "https://fhir.by/StructureDefinition/ImagingStudyBasic"
                    },
                    {
                      "key": "_sort",
                      "value": "-_lastUpdated"
                    },
                    {
                      "key": "patient-id",
                      "value": "{{patientId}}",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Метод импорта пакета медицинской информации",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r",
                      "    pm.response.to.have.status(202);\r",
                      "});\r",
                      "\r",
                      "var jsonData = pm.response.json();\r",
                      "let bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r",
                      "let statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r",
                      "\r",
                      "console.log(statusReference.valueReference.reference);\r",
                      "\r",
                      "pm.collectionVariables.set(\"bundleId\", bundleId);\r",
                      "pm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Fhir-By-Version",
                    "value": "active"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"resourceType\": \"Bundle\",\r\n    \"id\": \"{{$guid}}\",\r\n    \"meta\": {\r\n        \"profile\": [\r\n            \"https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument\"\r\n        ]\r\n    },\r\n    \"identifier\": {\r\n        \"system\": \"https://fhir.by/ValueSet/urn:ietf:rfc:3987\",\r\n        \"value\": \"urn:uuid:{{$guid}}\"\r\n    },\r\n    \"type\": \"document\",\r\n    \"timestamp\": \"{{$isoTimestamp}}\",\r\n    \"entry\": [\r\n        {\r\n            \"fullUrl\": \"Composition/CompositionBundleTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Composition\",\r\n                \"id\": \"CompositionBundleTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/CompDocument\"\r\n                    ]\r\n                },\r\n                \"status\": \"registered\",\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/CompositionType\",\r\n                            \"code\": \"general\",\r\n                            \"display\": \"Общая медицинская информация\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/PatientTest\"\r\n                    }\r\n                ],\r\n                \"date\": \"{{$isoTimestamp}}\",\r\n                \"author\": [\r\n                    {\r\n                        \"reference\": \"Practitioner/{{PractitionerId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"медицинская информация о пациенте\",\r\n                \"custodian\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Patient/PatientTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Patient\",\r\n                \"id\": \"ExamplePatientWithIdentificationNumber\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PatientED\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/DocumentKind\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DigitalDocumentKind\",\r\n                                    \"code\": \"00\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111235A009PB3\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Кузнецова\",\r\n                        \"given\": [\r\n                            \"Нина\",\r\n                            \"Петровна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"birthDate\": \"1989-12-01\",\r\n                \"gender\": \"female\",\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375297556655\"\r\n                    }\r\n                ],\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"temp\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    }\r\n                ],\r\n                \"link\": [\r\n                    {\r\n                        \"other\": {\r\n                            \"reference\": \"Patient/{{patientId}}\"\r\n                        },\r\n                        \"type\": \"refer\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"RelatedPerson/RelatedPersonPermanent\",\r\n            \"resource\": {\r\n                \"resourceType\": \"RelatedPerson\",\r\n                \"id\": \"RelatedPersonPermanen\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/RelatedPersonPermanentBy\"\r\n                    ]\r\n                },\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Кузнецова\",\r\n                        \"given\": [\r\n                            \"Анна\",\r\n                            \"Владимировна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RelatedPersonMaritalStatus\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                                    \"code\": \"married\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"use\": \"usual\",\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\",\r\n                                    \"display\": \"Уникальный идентификационный номер\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111108A009PB8\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"relationship\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/RelatedPersonType\",\r\n                                \"code\": \"mother\",\r\n                                \"display\": \"мать\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375447556655\"\r\n                    }\r\n                ],\r\n                \"gender\": \"female\",\r\n                \"birthDate\": \"1971-04-30\",\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.31\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"1.3\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Contract/ResidencePlaceOfCare\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Contract\",\r\n                \"id\": \"ResidencePlaceOfCare\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PlaceOfCare\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AddressExtension\",\r\n                        \"valueAddress\": {\r\n                            \"extension\": [\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                    \"valueCodeableConcept\": {\r\n                                        \"coding\": [\r\n                                            {\r\n                                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                                \"version\": \"1.3\",\r\n                                                \"code\": \"517030104916096191\",\r\n                                                \"display\": \"д.24\"\r\n                                            }\r\n                                        ]\r\n                                    }\r\n                                },\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                    \"valueString\": \"кв. 1\"\r\n                                }\r\n                            ],\r\n                            \"use\": \"home\",\r\n                            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"executable\",\r\n                \"issued\": \"2026-06-05\",\r\n                \"applies\": {\r\n                    \"start\": \"2026-06-05\"\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/{{patientId}}\"\r\n                    }\r\n                ],\r\n                \"authority\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"Закрепление пациента (по месту регистрации)\",\r\n                \"author\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ReasonForServiceCare\",\r\n                            \"code\": \"residence\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subType\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/SubTypeServiceCare\",\r\n                                \"code\": \"main\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Encounter/EncounterTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Encounter\",\r\n                \"id\": \"EncounterTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/EncounterGeneral\"\r\n                    ]\r\n                },\r\n                \"status\": \"completed\",\r\n                \"class\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                \"code\": \"1\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"priority\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/HealthCareForms\",\r\n                            \"code\": \"emergency\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"type\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/TypeOfHealthCare\",\r\n                                \"code\": \"primary\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"serviceProvider\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"actualPeriod\": {\r\n                    \"start\": \"2026-09-17T10:12:21Z\",\r\n                    \"end\": \"2026-09-17T10:25:21Z\"\r\n                },\r\n                \"diagnosis\": [\r\n                    {\r\n                        \"condition\": [\r\n                            {\r\n                                \"reference\": {\r\n                                    \"reference\": \"Condition/ConditionTest\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"use\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/TypeOfDiagnosis\",\r\n                                        \"code\": \"mainDiagnosis\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-09-17\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"L60.0\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"L60.0 - Вросший ноготь\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-09-17\",\r\n                \"recordedDate\": \"2026-09-17\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTest2\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTest2\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-09-17\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"T88.7\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"T88.7 - Патологическая реакция на лекарственное средство и медикаменты неуточненная\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-09-17\",\r\n                \"recordedDate\": \"2026-09-17\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"QuestionnaireResponse/ExampleTransfusAnamPatientReported\",\r\n            \"resource\": {\r\n                \"resourceType\": \"QuestionnaireResponse\",\r\n                \"id\": \"ExampleTransfusAnamPatientReported\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis\"\r\n                    ]\r\n                },\r\n                \"questionnaire\": \"https://fhir.by/Questionnaire/TransfusiologyAnamnesis\",\r\n                \"status\": \"completed\",\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"authored\": \"2026-01-05T00:00:00.000Z\",\r\n                \"author\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"source\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"item\": [\r\n                    {\r\n                        \"linkId\": \"1\",\r\n                        \"text\": \"Информация о группе крови\",\r\n                        \"item\": [\r\n                            {\r\n                                \"linkId\": \"1.1\",\r\n                                \"text\": \"Группа крови по системе AB0\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeAB0\",\r\n                                            \"code\": \"B\",\r\n                                            \"display\": \"B (III) группа\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"linkId\": \"1.2\",\r\n                                \"text\": \"RhD-принадлежность (резус-фактор)\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeRh\",\r\n                                            \"code\": \"Rh-neg\",\r\n                                            \"display\": \"Rh - отрицательный\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"linkId\": \"1.3\",\r\n                                \"text\": \"Группа крови по Kell\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeKell\",\r\n                                            \"code\": \"no\",\r\n                                            \"display\": \"неизвестно\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"ImmunizationRecommendation/ImmunizationRecommendationForTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"ImmunizationRecommendation\",\r\n                \"id\": \"ImmunizationRecommendationForTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImmunizationRecommendationBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/PractitionerRoleImm\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"date\": \"2025-02-05T15:30:00Z\",\r\n                \"authority\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"recommendation\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-01-12\",\r\n                                    \"end\": \"2025-01-12\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"26\",\r\n                                        \"display\": \"туберкулез\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в роддоме\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-01-15\",\r\n                                    \"end\": \"2025-01-15\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"8\",\r\n                                        \"display\": \"гепатит B\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в роддоме\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-07-01\",\r\n                                    \"end\": \"2025-07-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация1\",\r\n                                            \"display\": \"Вакцинация 1\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"11\",\r\n                                        \"display\": \"дифтерия\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"15\",\r\n                                        \"display\": \"кокоюш\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"25\",\r\n                                        \"display\": \"столбняк\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-10-01\",\r\n                                    \"end\": \"2030-10-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"17\",\r\n                                        \"display\": \"корь\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"18\",\r\n                                        \"display\": \"краснуха\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"28\",\r\n                                        \"display\": \"эпидемический паротит\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-12-01\",\r\n                                    \"end\": \"2030-12-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"Вакцинация2\",\r\n                                            \"display\": \"Вакцинация2\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"11\",\r\n                                        \"display\": \"дифтерия\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"15\",\r\n                                        \"display\": \"кокоюш\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"25\",\r\n                                        \"display\": \"столбняк\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-12-01\",\r\n                                    \"end\": \"2030-12-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"Вакцинация2\",\r\n                                            \"display\": \"Вакцинация2\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"21\",\r\n                                        \"display\": \"полиомиелит\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleFluorography\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleFluorography\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportFluorography\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 0.04,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"109/01\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/PreventChestXRay\",\r\n                            \"code\": \"A06-09-006-008-add\",\r\n                            \"display\": \"Рентгенография грудной клетки профилактическая на цифровом аппарате сканирующего типа (в одной проекции)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-07-11T09:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Очаговых и инфильтративных теней не определяется. Легочной рисунок усилен. \\n                Корни не расширены, структурны. Синусы свободны. Тень сердца отклонена влево. \\n                **Заключение:** органы грудной клетки без патологических изменений.\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"AllergyIntolerance/ExampleAllergyIntolerCase3\",\r\n            \"resource\": {\r\n                \"resourceType\": \"AllergyIntolerance\",\r\n                \"id\": \"ExampleAllergyIntolerCase3\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/AllergyIntoleranceBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AllergyTriggerString\",\r\n                        \"valueString\": \"Арахис\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AllergyIntolerCategory\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceCauses\",\r\n                                    \"code\": \"food\",\r\n                                    \"display\": \"Пищевые продукты\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceClinicalStatus\",\r\n                            \"code\": \"active\",\r\n                            \"display\": \"Наличие симптомов и/или клинических проявлений\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"verificationStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceVerificationStatus\",\r\n                            \"code\": \"confirmed\",\r\n                            \"display\": \"Подтвержденная: клинически или лабораторно подтвержден факт аллергии/непереносимости\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceType\",\r\n                            \"code\": \"allergy\",\r\n                            \"display\": \"Аллергия (иммунный механизм)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"category\": [\r\n                    \"food\"\r\n                ],\r\n                \"criticality\": \"low\",\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"onsetDateTime\": \"2026-04-20\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Пациенту даны рекомендации строго придерживаться диеты, которая исключает употребление продуктов, содержащих арахис. Назначены лабораторные исследования для подтверждения аллергии\"\r\n                    }\r\n                ],\r\n                \"reaction\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/Measures\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AEReportMeasures\",\r\n                                            \"code\": \"no-treatment\",\r\n                                            \"display\": \"без лечения\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"manifestation\": [\r\n                            {\r\n                                \"reference\": {\r\n                                    \"reference\": \"Observation/ObservationTest4\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"description\": \"Через 10-15 минут после съеденного батончика появилась крапивница (очаги на шее, туловище и верхних конечностях), зуд кожи, тошнота\",\r\n                        \"onset\": \"2026-04-20\",\r\n                        \"exposureRoute\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MedicationRouteAdmin\",\r\n                                    \"code\": \"048\",\r\n                                    \"display\": \"для приема внутрь\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/ObservationTest4\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"ObservationTest4\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ObservationObjective\"\r\n                    ]\r\n                },\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ObservationCategoryCode\",\r\n                                \"code\": \"exam\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ObservationObjectiveCode\",\r\n                            \"code\": \"skin\",\r\n                            \"display\": \"Кожный покров\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectiveDateTime\": \"2026-04-19T11:12:21Z\",\r\n                \"issued\": \"2026-04-19T11:12:21Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"valueString\": \"Сыпь по всему телу\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/ProcedureTest01\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"ProcedureTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ProcedureFunctDiagn\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"paid\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/VSDiagnosticMethodsFD\",\r\n                            \"code\": \"A05-10-002-001-add\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-07-11T12:00:00Z\",\r\n                    \"end\": \"2026-07-11T12:50:00Z\"\r\n                },\r\n                \"recorded\": \"2026-07-11T13:47:00Z\",\r\n                \"recorder\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PerformerRoleObservation\",\r\n                                    \"code\": \"doctor\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"outcome\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ProcedureResult\",\r\n                            \"code\": \"successful\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Успешное выполнение\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/Example024hBpMonit\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"Example24hBpMonit\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/GeneralFunctionalResearch\"\r\n                    ]\r\n                },\r\n                \"partOf\": [\r\n                    {\r\n                        \"reference\": \"Procedure/ProcedureTest01\"\r\n                    }\r\n                ],\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"02/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая помощь взрослому населению\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/VSDiagnosticMethodsFD\",\r\n                            \"code\": \"A05-10-002-001-add\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-07-03T12:00:00Z\",\r\n                    \"end\": \"2026-07-03T12:00:00Z\"\r\n                },\r\n                \"issued\": \"2026-07-03T12:47:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"component\": [\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/QualitativeParametersFD\",\r\n                                    \"code\": \"electrical-axis\",\r\n                                    \"display\": \"Электрическая ось\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/QualitativeParameterValuesFD\",\r\n                                    \"code\": \"vertical-electrical-axis\",\r\n                                    \"display\": \"Вертикальное положение ЭОС\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/QuantityParametersFD\",\r\n                                    \"code\": \"heart-rate\",\r\n                                    \"display\": \"Частота сердечных сокращений\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 135,\r\n                            \"unit\": \"в минуту\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"/min\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/QualitativeParametersFD\",\r\n                                    \"code\": \"rhythm\",\r\n                                    \"display\": \"Ритм\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/QualitativeParameterValuesFD\",\r\n                                    \"code\": \"sinus-rhythm\",\r\n                                    \"display\": \"Ритм синусовый\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/QuantityParametersFD\",\r\n                                    \"code\": \"angle-alpha\",\r\n                                    \"display\": \"Угол альфа\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 45,\r\n                            \"unit\": \"°\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"deg\"\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDRpedECG0\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDRpedECG11\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RecomendationForFuncDiagConclusion\",\r\n                        \"valueString\": \"Консультация кардиолога\"\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"№21\"\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"02/1\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/VSDiagnosticMethodsFD\",\r\n                            \"code\": \"A05-10-002-001-add\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectiveDateTime\": \"2026-07-04\",\r\n                \"issued\": \"2026-07-07T12:10:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"result\": [\r\n                    {\r\n                        \"reference\": \"Observation/Example024hBpMonit\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Синусовый ритм, ЧСС 135 уд/мин, вертикальное положение ЭОС\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/ExampleUltrasoundObsDR\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"ExampleUltrasoundObsDR\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ObservationUltrasound\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Location/{{LocationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"2026-001\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/UltrasoundTypes\",\r\n                            \"code\": \"A04-28-001\",\r\n                            \"display\": \"УЗИ почек\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-04-20T12:05:00Z\",\r\n                    \"end\": \"2026-04-20T12:15:00Z\"\r\n                },\r\n                \"issued\": \"2026-04-20T12:20:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PerformerTypeObservation\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/PerformerType\",\r\n                                            \"code\": \"organization-per\",\r\n                                            \"display\": \"организация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PerformerTypeObservation\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/PerformerType\",\r\n                                            \"code\": \"practitionerRole-per\",\r\n                                            \"display\": \"роль медработника\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"component\": [\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-location\",\r\n                                    \"display\": \"Расположение правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обычное\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-borders\",\r\n                                    \"display\": \"Контуры правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Ровные, четкие\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-length\",\r\n                                    \"display\": \"Длина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 105,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-thickness\",\r\n                                    \"display\": \"Толщина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 45,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-width\",\r\n                                    \"display\": \"Ширина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 52,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-width\",\r\n                                    \"display\": \"Толщина паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 18,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-echogenicity\",\r\n                                    \"display\": \"Эхогенность паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"normal\",\r\n                                    \"display\": \"Норма\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-structure\",\r\n                                    \"display\": \"Структура паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"homogeneous\",\r\n                                    \"display\": \"Однородная\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-pelvicalyceal\",\r\n                                    \"display\": \"Чашечно-лоханочная система правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Не расширена\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-lesions\",\r\n                                    \"display\": \"Очаговые образования (правая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-stones\",\r\n                                    \"display\": \"Конкременты (правая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-location\",\r\n                                    \"display\": \"Расположение левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обычное\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-borders\",\r\n                                    \"display\": \"Контуры левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Ровные, четкие\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-length\",\r\n                                    \"display\": \"Длина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 108,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-width\",\r\n                                    \"display\": \"Толщина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 42,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-width\",\r\n                                    \"display\": \"Ширина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 49,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-width\",\r\n                                    \"display\": \"Толщина паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 22,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-echogenicity\",\r\n                                    \"display\": \"Эхогенность паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"normal\",\r\n                                    \"display\": \"Норма\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-structure\",\r\n                                    \"display\": \"Структура паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"homogeneous\",\r\n                                    \"display\": \"Однородная\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-pelvicalyceal\",\r\n                                    \"display\": \"Чашечно-лоханочная система левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Не расширена\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-lesions\",\r\n                                    \"display\": \"Очаговые образования (левая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-stones\",\r\n                                    \"display\": \"Конкременты (левая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"additional-info\",\r\n                                    \"display\": \"Дополнительная информация\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обнаружен единичный конкремент чашечно-лоханочной системы правой почки до 6 мм\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDiagnosticReportObsDR\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDiagnosticReportObsDR\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Location/{{LocationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RecomendationForFuncDiagConclusion\",\r\n                        \"valueString\": \"Рекомендовано наблюдение уролога, контрольное УЗИ в динамике\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ExaminationPriority\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ExaminationPriority\",\r\n                                    \"code\": \"routine\",\r\n                                    \"display\": \"планово\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"2026-001\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/UltrasoundTypes\",\r\n                            \"code\": \"A04-28-001\",\r\n                            \"display\": \"УЗИ почек\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-04-20T12:05:00Z\",\r\n                    \"end\": \"2026-04-20T12:15:00Z\"\r\n                },\r\n                \"issued\": \"2026-04-20T12:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"result\": [\r\n                    {\r\n                        \"reference\": \"Observation/ExampleUltrasoundObsDR\"\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Исследование выполнено первично по поводу эпизода почечной колики. Визуализация почек удовлетворительная\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"УЗИ-признаки нефролитиаза справа: единичный конкремент чашечно-лоханочной системы правой почки до 6 мм\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/NailTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"NailTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/SurgicalProcedure\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FromOrganization\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"free\",\r\n                                    \"display\": \"Бесплатные услуги\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/TermsOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                    \"code\": \"3\",\r\n                                    \"display\": \"в условиях отделения дневного пребывания\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AnesthesiaType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AnesthesiaType\",\r\n                                    \"code\": \"local\",\r\n                                    \"display\": \"местная анестезия\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ProcedureUrgency\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ProcedureUrgency\",\r\n                                    \"code\": \"planned\",\r\n                                    \"display\": \"Плановое\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"13589\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ProcedureType\",\r\n                                \"code\": \"radical\",\r\n                                \"display\": \"Радикальная\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/SurgicalInterventions\",\r\n                            \"code\": \"QDSH20\",\r\n                            \"display\": \"Коррекция деформации ногтевой пластины пальца стопы\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Коррекция деформации ногтевой пластины пальца стопы\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-04-20T12:00:00Z\",\r\n                    \"end\": \"2026-04-20T12:20:00Z\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OperatingTeam\",\r\n                                    \"code\": \"operator\",\r\n                                    \"display\": \"врач-хирург оперирующий\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        },\r\n                        \"period\": {\r\n                            \"start\": \"2026-04-20T12:00:00Z\",\r\n                            \"end\": \"2026-04-20T12:20:00Z\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"location\": {\r\n                    \"reference\": \"Location/{{LocationId}}\"\r\n                },\r\n                \"reason\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SurgicalInterventionDiagnosis\",\r\n                                    \"code\": \"postoperative\",\r\n                                    \"display\": \"Диагноз после вмешательства\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"reference\": {\r\n                            \"reference\": \"Condition/ConditionTest\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Обработка операционного поля. Выполнено местное обезболивание. Иссечение вросшего края ногтевой пластины. Антисептическая обработка раны. Асептическая повязка\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ExampleDiagnosisEndoscopy2\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ExampleDiagnosisEndoscopy2\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\",\r\n                                    \"display\": \"Заключительный диагноз\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-05-10\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/CourseOfDisease\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/CourseOfDisease\",\r\n                                    \"code\": \"acute\",\r\n                                    \"display\": \"Острое течение заболевания\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FirstTimeRevealed\",\r\n                        \"valueBoolean\": true\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"K29.7\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"K29.7 - Гастрит неуточненный\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-05-10\",\r\n                \"recordedDate\": \"2026-05-10\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Гастрит неуточненный\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/ExampleEndoscopyFGDS\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"ExampleEndoscopyFGDS\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/SurgicalProcedure\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FromOrganization\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"free\",\r\n                                    \"display\": \"Бесплатные услуги\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/TermsOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                    \"code\": \"1\",\r\n                                    \"display\": \"амбулаторные\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AnesthesiaType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AnesthesiaType\",\r\n                                    \"code\": \"local\",\r\n                                    \"display\": \"местная анестезия\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ProcedureUrgency\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ProcedureUrgency\",\r\n                                    \"code\": \"planned\",\r\n                                    \"display\": \"Плановое\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"12469\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ProcedureType\",\r\n                                \"code\": \"diagnostic\",\r\n                                \"display\": \"Диагностическая\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/SurgicalInterventions\",\r\n                            \"code\": \"JDE005\",\r\n                            \"display\": \"Гастроскопия с биопсией\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Гастроскопия с биопсией\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-05-10T10:00:00Z\",\r\n                    \"end\": \"2026-05-10T10:30:00Z\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OperatingTeam\",\r\n                                    \"code\": \"endo\",\r\n                                    \"display\": \"врач-эндоскопист\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        },\r\n                        \"period\": {\r\n                            \"start\": \"2026-05-10T10:00:00Z\",\r\n                            \"end\": \"2026-05-10T10:30:00Z\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"location\": {\r\n                    \"reference\": \"Location/{{LocationId}}\"\r\n                },\r\n                \"reason\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SurgicalInterventionDiagnosis\",\r\n                                    \"code\": \"postoperative\",\r\n                                    \"display\": \"Диагноз после вмешательства\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"reference\": {\r\n                            \"reference\": \"Condition/ExampleDiagnosisEndoscopy2\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Выполнено местное обезболивание. Пищевод свободно проходим. Слизистая пищевода бледно-розовой окраски. Розетка кардии смыкается полностью. \\n  В желудке слизь. Складки извитые, сочные. Слизистая желудка умеренно гиперемированная, отечная.\\n  Привратник округлой формы, проходим. Слизистая луковицы 12 п.к. бледно-розовой окраски. Взята биопсия из желудка, слизистая оболочка.\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"ImagingStudy/ImagingStudyTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"ImagingStudy\",\r\n                \"id\": \"ImagingStudyTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImagingStudyBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/imageState\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImageState\",\r\n                                    \"code\": \"archived\",\r\n                                    \"display\": \"Архивированное\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/characterSet\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/CharacterSet\",\r\n                                    \"code\": \"[ISO IR 100]\",\r\n                                    \"display\": \"[ISO IR 100]\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/endTime\",\r\n                        \"valueDateTime\": \"2005-04-08T08:55:35Z\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/imageType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImageType\",\r\n                                    \"code\": \"Original image\",\r\n                                    \"display\": \"Оригинальное изображение\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/contrastEnhanced\",\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ctStudyDLP\",\r\n                        \"valueDecimal\": 300\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 2.83,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"{{StudyInstanceUID}}\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"status\": \"registered\",\r\n                \"modality\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/DICOMmodalities\",\r\n                                \"code\": \"{{modality}}\",\r\n                                \"display\": \"Позитронно-эмиссионная томография\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"started\": \"2013-01-02T00:00:00Z\",\r\n                \"referrer\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"procedure\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DiagnosticImagingStudy\",\r\n                                    \"code\": \"A06-09-005-002\",\r\n                                    \"display\": \"КТ грудной клетки (без и с контрастным усилением)\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"series\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ImagingStudyLink\",\r\n                                \"valueString\": \"/export/dcm?study={{StudyInstanceUID}}/series={{SeriesInstanceUID}}\"\r\n                            }\r\n                        ],\r\n                        \"uid\": \"{{SeriesInstanceUID}}\",\r\n                        \"modality\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DICOMmodalities\",\r\n                                    \"code\": \"{{modality}}\",\r\n                                    \"display\": \"Позитронно-эмиссионная томография\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"started\": \"2026-01-02T00:00:00Z\",\r\n                        \"performer\": [\r\n                            {\r\n                                \"actor\": {\r\n                                    \"reference\": \"Device/mi-28b0b44b-adae-11f1-a31d-69df04b5ccea\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"instance\": [\r\n                            {\r\n                                \"uid\": \"{{InstanceUID}}\",\r\n                                \"sopClass\": {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SOPclasses\",\r\n                                    \"code\": \"1.2.840.10008.5.1.4.1.1.128\",\r\n                                    \"display\": \"Хранение инкапсулированного MTL\"\r\n                                }\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/DiagnosticReport11\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"DiagnosticReport11\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImagingDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"126\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"preliminary\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03\",\r\n                                \"display\": \"Диагностика\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/DiagnosticImagingStudy\",\r\n                            \"code\": \"A06-09-005-002\",\r\n                            \"display\": \"КТ грудной клетки (без и с контрастным усилением)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-06-21T13:00:00Z\",\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"### Описание исследования:\\nПроведена РКТ грудной клетки с внутривенным контрастированием. Корни тяжисты. Легочные поля воздушны. В плеральной полости слева незначительное количество жидкости\"\r\n                    }\r\n                ],\r\n                \"study\": [\r\n                    {\r\n                        \"reference\": \"ImagingStudy/ImagingStudyTest\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Остаточные являния перенесенной пневмонии\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDRGeneralUrineAnalysis\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDRGeneralUrineAnalysis\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportLab\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ResearchMethods\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OlisMethodsSplit\",\r\n                                    \"code\": \"2\",\r\n                                    \"display\": \"Автоматизированное определение\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"1236\",\r\n                        \"assigner\": {\r\n                            \"extension\": [\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                                    \"valueReference\": {\r\n                                        \"reference\": \"Location/{{LocationId}}\"\r\n                                    }\r\n                                }\r\n                            ],\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/TypesOfLabTests\",\r\n                            \"code\": \"1.1\",\r\n                            \"display\": \"Клинический анализ мочи, скрининг\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-08-30T15:00:00Z\",\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Показатели мочи в норме\"\r\n            }\r\n        }\r\n    ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/$import",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Bundle",
                    "$import"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Получение статуса импорта пакета медицинской информации",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/{{bundleId}}/$status",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Bundle",
                    "{{bundleId}}",
                    "$status"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Поиск пациента в ЦИСЗ",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let patientId = jsonData.entry.find(obj => obj.resource.resourceType === \"Patient\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"patientId\", patientId);\r",
                  "console.log(patientId)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient?identifier=7111235A009PB3",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient"
              ],
              "query": [
                {
                  "key": "identifier",
                  "value": "7111235A009PB3"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-07&end=2026-09",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-07"
                },
                {
                  "key": "end",
                  "value": "2026-09"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-04&end=2026-06",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-04"
                },
                {
                  "key": "end",
                  "value": "2026-06"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации о закреплении пациента за медицинской организацией",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Contract?_profile=https://fhir.by/StructureDefinition/PlaceOfCare&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Contract"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/PlaceOfCare"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ответов по трансфузиологическому анамнезу",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/QuestionnaireResponse?_profile=https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "QuestionnaireResponse"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск набора рекомендаций по проведению профилактических прививок",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let ImmunizationById = jsonData.entry.find(obj => obj.resource.resourceType === \"Immunization\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"ImmunizationById\", ImmunizationById);\r",
                  "console.log(ImmunizationById)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/ImmunizationRecommendation?_profile=https://fhir.by/StructureDefinition/ImmunizationRecommendationBy&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "ImmunizationRecommendation"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImmunizationRecommendationBy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключения профилактической рентгенографии грудной клетки",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let Fluorography = jsonData.entry.find(obj => obj.resource.resourceType === \"DiagnosticReport\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"Fluorography\", Fluorography);\r",
                  "console.log(Fluorography)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/DiagnosticReportFluorography&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/DiagnosticReportFluorography"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об аллергии или непереносимости у пациента",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/AllergyIntolerance?_profile=https://fhir.by/StructureDefinition/AllergyIntoleranceBy&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "AllergyIntolerance"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AllergyIntoleranceBy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ответов по аллергологическому анамнезу",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/QuestionnaireResponse?_profile=https://fhir.by/StructureDefinition/AllergologyAnamnesis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "QuestionnaireResponse"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AllergologyAnamnesis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск обращений пациента за медицинской помощью",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Encounter?_profile=https://fhir.by/StructureDefinition/EncounterGeneral&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Encounter"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/EncounterGeneral"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации, содержащей сведения о диагнозе пациента",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Condition?_profile=https://fhir.by/StructureDefinition/FinalDiagnosis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Condition"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/FinalDiagnosis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск набора изображений исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let ImagingStudy = jsonData.entry.find(obj => obj.resource.resourceType === \"ImagingStudy\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"ImagingStudyID1\", ImagingStudy);\r",
                  "console.log(ImagingStudy)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/ImagingStudy?_profile=https://fhir.by/StructureDefinition/ImagingStudyBy&patient=Patient/{{patientId}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "ImagingStudy"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImagingStudyBy"
                },
                {
                  "key": "patient",
                  "value": "Patient/{{patientId}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключений функционального исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключений по результатам ультразвукового исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об оперативном или диагностическом вмешательстве, проведенных пациенту",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Procedure?_profile=https://fhir.by/StructureDefinition/SurgicalProcedure&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Procedure"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/SurgicalProcedure"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск Заключения лабораторного исследования",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/DiagnosticReportLab&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/DiagnosticReportLab"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Ситуация 2. Пациент отсутствует в ЦИСЗ. Имеется бумажная медицинская карта.",
      "item": [
        {
          "name": "Метод создания пациента",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r",
                  "    pm.response.to.have.status(202);\r",
                  "});\r",
                  "\r",
                  "var jsonData = pm.response.json();\r",
                  "let bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r",
                  "let statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r",
                  "\r",
                  "console.log(statusReference.valueReference.reference);\r",
                  "\r",
                  "pm.collectionVariables.set(\"bundleId\", bundleId);\r",
                  "pm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Fhir-By-Version",
                "value": "active"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"resourceType\": \"Patient\",\r\n    \"id\": \"PatientTest\",\r\n    \"meta\": {\r\n        \"profile\": [\r\n            \"https://fhir.by/StructureDefinition/PatientWithIdentificationNumber\"\r\n        ]\r\n    },\r\n    \"extension\": [\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/IncapacityExtension\",\r\n            \"valueBoolean\": true\r\n        },\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/DisabilityGroup\",\r\n            \"valueCodeableConcept\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/DisabilityGroup\",\r\n                        \"code\": \"3_group\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/DisabilityReason\",\r\n            \"valueCodeableConcept\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/DisabilityReason\",\r\n                        \"code\": \"general\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientStudyPlace\",\r\n                    \"valueString\": \"БГУ\"\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientStudyKind\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/EducationKind\",\r\n                                \"code\": \"student\",\r\n                                \"display\": \"Студент очной формы обучения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientTermOfStudy\",\r\n                    \"valuePeriod\": {\r\n                        \"start\": \"2015-09-01\",\r\n                        \"end\": \"2019-08-01\"\r\n                    }\r\n                }\r\n            ],\r\n            \"url\": \"https://fhir.by/StructureDefinition/PatientStudy\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientJobProfession\",\r\n                    \"valueString\": \"Учитель начальных классов\"\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientJobProfessionCode\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/SpecialtyProfPerson\",\r\n                                \"code\": \"2331-001\",\r\n                                \"display\": \"Учитель\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PatientJobPlace\",\r\n                    \"valueString\": \"ГУО «Средняя школа № 15»\"\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/TermOFWork\",\r\n                    \"valuePeriod\": {\r\n                        \"start\": \"2020-09-01\"\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/MainJobPlace\",\r\n                    \"valueBoolean\": true\r\n                }\r\n            ],\r\n            \"url\": \"https://fhir.by/StructureDefinition/PatientJob\"\r\n        },\r\n        {\r\n            \"url\": \"https://fhir.by/StructureDefinition/PatientPreferences\",\r\n            \"valueCodeableConcept\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/VSPatientPreferences\",\r\n                        \"code\": \"6\",\r\n                        \"display\": \"Дети-инвалиды в возрасте до 18 лет и дети в возрасте до 3 лет.\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean\",\r\n                    \"valueBoolean\": true\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod\",\r\n                    \"valuePeriod\": {\r\n                        \"start\": \"2026-01-15\"\r\n                    }\r\n                }\r\n            ],\r\n            \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalData\"\r\n        }\r\n    ],\r\n    \"identifier\": [\r\n        {\r\n            \"use\": \"usual\",\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                        \"version\": \"1.10\",\r\n                        \"code\": \"INP\",\r\n                        \"display\": \"Уникальный идентификационный номер\"\r\n                    }\r\n                ]\r\n            },\r\n            \"value\": \"7111184A009PB8\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"extension\": [\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedString\",\r\n                            \"valueString\": \"Центральным РУВД г Минска, 21.08.2021\"\r\n                        },\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedDate\",\r\n                            \"valueDate\": \"2022-08-21\"\r\n                        },\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedCode\",\r\n                            \"valueCodeableConcept\": {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/OCAM\",\r\n                                        \"version\": \"1.3\",\r\n                                        \"code\": \"Minsk\",\r\n                                        \"display\": \"Минск\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        }\r\n                    ],\r\n                    \"url\": \"https://fhir.by/StructureDefinition/PassportIssued\"\r\n                }\r\n            ],\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                        \"version\": \"1.10\",\r\n                        \"code\": \"Passport-RB\",\r\n                        \"display\": \"Паспорт гражданина Республики Беларусь\"\r\n                    }\r\n                ]\r\n            },\r\n            \"value\": \"MM0123445\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"extension\": [\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedString\",\r\n                            \"valueString\": \"Гродненское областное учреждение здравоохранения 'Медико-реабилитационная экспертная комиссия'\"\r\n                        },\r\n                        {\r\n                            \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedDate\",\r\n                            \"valueDate\": \"2022-08-21\"\r\n                        }\r\n                    ],\r\n                    \"url\": \"https://fhir.by/StructureDefinition/DocumentIssued\"\r\n                }\r\n            ],\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                        \"version\": \"1.10\",\r\n                        \"code\": \"CDP\",\r\n                        \"display\": \"Удостоверение инвалида\"\r\n                    }\r\n                ]\r\n            },\r\n            \"value\": \"CDP0123445\",\r\n            \"period\": {\r\n                \"start\": \"2022-08-21\",\r\n                \"end\": \"2027-08-20\"\r\n            }\r\n        }\r\n    ],\r\n    \"active\": true,\r\n    \"name\": [\r\n        {\r\n            \"family\": \"Смирнова\",\r\n            \"given\": [\r\n                \"Нина\",\r\n                \"Петровна\"\r\n            ]\r\n        }\r\n    ],\r\n    \"telecom\": [\r\n        {\r\n            \"system\": \"email\",\r\n            \"value\": \"test_maill@mail.by\"\r\n        },\r\n        {\r\n            \"system\": \"phone\",\r\n            \"value\": \"+375297556655\"\r\n        }\r\n    ],\r\n    \"gender\": \"female\",\r\n    \"birthDate\": \"1989-12-01\",\r\n    \"deceasedBoolean\": false,\r\n    \"address\": [\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                \"version\": \"1.31\",\r\n                                \"code\": \"BY\",\r\n                                \"display\": \"Беларусь\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                \"version\": \"1.3\",\r\n                                \"code\": \"517030104916096191\",\r\n                                \"display\": \"д.24\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                    \"valueString\": \"кв. 1\"\r\n                }\r\n            ],\r\n            \"use\": \"home\",\r\n            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n        },\r\n        {\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                \"version\": \"1.31\",\r\n                                \"code\": \"BY\",\r\n                                \"display\": \"Беларусь\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                    \"valueCodeableConcept\": {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                \"version\": \"1.3\",\r\n                                \"code\": \"517030104916096191\",\r\n                                \"display\": \"д.24\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                    \"valueString\": \"кв. 1\"\r\n                }\r\n            ],\r\n            \"use\": \"temp\",\r\n            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n        }\r\n    ],\r\n    \"maritalStatus\": {\r\n        \"coding\": [\r\n            {\r\n                \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                \"version\": \"1.1\",\r\n                \"code\": \"married\",\r\n                \"display\": \"женат/замужем\"\r\n            }\r\n        ]\r\n    }\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск пациента в ЦИСЗ",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let patientId = jsonData.entry.find(obj => obj.resource.resourceType === \"Patient\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"patientId\", patientId);\r",
                  "console.log(patientId)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient?identifier=7111184A009PB8",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient"
              ],
              "query": [
                {
                  "key": "identifier",
                  "value": "7111184A009PB8"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск DICOM-устройств в УЗ",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let DeviceId = jsonData.entry.find(obj => obj.resource.resourceType === \"Device\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"DeviceId\", DeviceId);\r",
                  "console.log(DeviceId)\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Organization/{{OrganizationId}}/Device?_profile=https://fhir.by/StructureDefinition/DeviceImagingStudy&_sort=-_lastUpdated&aetitle=postman",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Organization",
                "{{OrganizationId}}",
                "Device"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/DeviceImagingStudy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                },
                {
                  "key": "aetitle",
                  "value": "postman"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ImagingStudyBasic",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "try {\r",
                  "  const json = pm.response.json();\r",
                  "\r",
                  "  const entry = json?.entry?.[0]?.resource;\r",
                  "  const exts = entry?.extension ?? [];\r",
                  "\r",
                  "  let StudyInstanceUID, SeriesInstanceUID, InstanceUID;\r",
                  "\r",
                  "  // 1) Через dicom-id\r",
                  "  const dicomExt = exts.find(e => e.url === 'dicom-id');\r",
                  "  if (dicomExt?.valueString) {\r",
                  "    const parts = dicomExt.valueString.split('/');\r",
                  "    if (parts.length >= 3) {\r",
                  "      StudyInstanceUID = parts[0];\r",
                  "      SeriesInstanceUID = parts[1];\r",
                  "      InstanceUID = parts[2];\r",
                  "    }\r",
                  "  }\r",
                  "\r",
                  "  // 2) Альтернативно — через отдельные extension\r",
                  "  if (!SeriesInstanceUID) {\r",
                  "    const serExt = exts.find(e => e.url === 'https://fhir.by/StructureDefinition/SeriesInstanceUID');\r",
                  "    if (serExt?.valueString) SeriesInstanceUID = serExt.valueString;\r",
                  "  }\r",
                  "  if (!InstanceUID) {\r",
                  "    const sopExt = exts.find(e => e.url === 'https://fhir.by/StructureDefinition/SOPInstanceUID');\r",
                  "    if (sopExt?.valueString) InstanceUID = sopExt.valueString;\r",
                  "  }\r",
                  "\r",
                  "  // Сохраняем в окружение (можно заменить на globals или collectionVariables)\r",
                  "  pm.collectionVariables.set('StudyInstanceUID', StudyInstanceUID ?? '');\r",
                  "  pm.collectionVariables.set('SeriesInstanceUID', SeriesInstanceUID ?? '');\r",
                  "  pm.collectionVariables.set('InstanceUID', InstanceUID ?? '');\r",
                  "\r",
                  "  // При желании можно залогировать результаты\r",
                  "  console.log('StudyInstanceUID:', StudyInstanceUID);\r",
                  "  console.log('SeriesInstanceUID:', SeriesInstanceUID);\r",
                  "  console.log('InstanceUID:', InstanceUID);\r",
                  "} catch (e) {\r",
                  "  console.error('Ошибка парсинга ответа FHIR:', e);\r",
                  "  // Можно установить пустые значения, чтобы не ломать последующие запросы\r",
                  "  pm.collectionVariables.set('StudyInstanceUID', '');\r",
                  "  pm.collectionVariables.set('SeriesInstanceUID', '');\r",
                  "  pm.collectionVariables.set('InstanceUID', '');\r",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Organization/{{OrganizationId}}/Basic?_profile=https://fhir.by/StructureDefinition/ImagingStudyBasic&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Organization",
                "{{OrganizationId}}",
                "Basic"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImagingStudyBasic"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Метод импорта пакета медицинской информации",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r",
                  "    pm.response.to.have.status(202);\r",
                  "});\r",
                  "\r",
                  "var jsonData = pm.response.json();\r",
                  "let bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r",
                  "let statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r",
                  "\r",
                  "console.log(statusReference.valueReference.reference);\r",
                  "\r",
                  "pm.collectionVariables.set(\"bundleId\", bundleId);\r",
                  "pm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Fhir-By-Version",
                "value": "active"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"resourceType\": \"Bundle\",\r\n    \"id\": \"{{$guid}}\",\r\n    \"meta\": {\r\n        \"profile\": [\r\n            \"https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument\"\r\n        ]\r\n    },\r\n    \"identifier\": {\r\n        \"system\": \"https://fhir.by/ValueSet/urn:ietf:rfc:3987\",\r\n        \"value\": \"urn:uuid:{{$guid}}\"\r\n    },\r\n    \"type\": \"document\",\r\n    \"timestamp\": \"{{$isoTimestamp}}\",\r\n    \"entry\": [\r\n        {\r\n            \"fullUrl\": \"Composition/CompositionBundleTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Composition\",\r\n                \"id\": \"CompositionBundleTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/CompDocument\"\r\n                    ]\r\n                },\r\n                \"status\": \"registered\",\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/CompositionType\",\r\n                            \"code\": \"general\",\r\n                            \"display\": \"Общая медицинская информация\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/PatientTest\"\r\n                    }\r\n                ],\r\n                \"date\": \"{{$isoTimestamp}}\",\r\n                \"author\": [\r\n                    {\r\n                        \"reference\": \"Practitioner/{{PractitionerId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"Оцифровка медицинской карты пациента\",\r\n                \"custodian\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Patient/PatientTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Patient\",\r\n                \"id\": \"ExamplePatientWithIdentificationNumber\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PatientED\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/DocumentKind\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DigitalDocumentKind\",\r\n                                    \"code\": \"00\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111184A009PB8\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Смирнова\",\r\n                        \"given\": [\r\n                            \"Нина\",\r\n                            \"Петровна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"birthDate\": \"1989-12-01\",\r\n                \"gender\": \"female\",\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375297556655\"\r\n                    }\r\n                ],\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"temp\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    }\r\n                ],\r\n                \"link\": [\r\n                    {\r\n                        \"other\": {\r\n                            \"reference\": \"Patient/{{patientId}}\"\r\n                        },\r\n                        \"type\": \"refer\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Contract/ResidencePlaceOfCare\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Contract\",\r\n                \"id\": \"ResidencePlaceOfCare\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PlaceOfCare\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AddressExtension\",\r\n                        \"valueAddress\": {\r\n                            \"extension\": [\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                    \"valueCodeableConcept\": {\r\n                                        \"coding\": [\r\n                                            {\r\n                                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                                \"version\": \"1.3\",\r\n                                                \"code\": \"517030104916096191\",\r\n                                                \"display\": \"д.24\"\r\n                                            }\r\n                                        ]\r\n                                    }\r\n                                },\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                    \"valueString\": \"кв. 1\"\r\n                                }\r\n                            ],\r\n                            \"use\": \"home\",\r\n                            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"executable\",\r\n                \"issued\": \"2026-09-17\",\r\n                \"applies\": {\r\n                    \"start\": \"2026-06-05\"\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/{{patientId}}\"\r\n                    }\r\n                ],\r\n                \"authority\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"Закрепление пациента (по месту регистрации)\",\r\n                \"author\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ReasonForServiceCare\",\r\n                            \"code\": \"residence\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subType\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/SubTypeServiceCare\",\r\n                                \"code\": \"main\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"RelatedPerson/RelatedPersonPermanent\",\r\n            \"resource\": {\r\n                \"resourceType\": \"RelatedPerson\",\r\n                \"id\": \"RelatedPersonPermanen\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/RelatedPersonPermanentBy\"\r\n                    ]\r\n                },\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Смирнова\",\r\n                        \"given\": [\r\n                            \"Анна\",\r\n                            \"Владимировна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RelatedPersonMaritalStatus\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                                    \"code\": \"married\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"use\": \"usual\",\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\",\r\n                                    \"display\": \"Уникальный идентификационный номер\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111108A009PB8\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"relationship\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/RelatedPersonType\",\r\n                                \"code\": \"mother\",\r\n                                \"display\": \"мать\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375447556655\"\r\n                    }\r\n                ],\r\n                \"gender\": \"female\",\r\n                \"birthDate\": \"1971-04-30\",\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.31\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"1.3\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"QuestionnaireResponse/ExampleTransfusAnamPatientReported\",\r\n            \"resource\": {\r\n                \"resourceType\": \"QuestionnaireResponse\",\r\n                \"id\": \"ExampleTransfusAnamPatientReported\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis\"\r\n                    ]\r\n                },\r\n                \"questionnaire\": \"https://fhir.by/Questionnaire/TransfusiologyAnamnesis\",\r\n                \"status\": \"completed\",\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"authored\": \"2026-09-17T00:00:00.000Z\",\r\n                \"author\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"source\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"item\": [\r\n                    {\r\n                        \"linkId\": \"1\",\r\n                        \"text\": \"Информация о группе крови\",\r\n                        \"item\": [\r\n                            {\r\n                                \"linkId\": \"1.1\",\r\n                                \"text\": \"Группа крови по системе AB0\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeAB0\",\r\n                                            \"code\": \"B\",\r\n                                            \"display\": \"B (III) группа\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"linkId\": \"1.2\",\r\n                                \"text\": \"RhD-принадлежность (резус-фактор)\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeRh\",\r\n                                            \"code\": \"Rh-neg\",\r\n                                            \"display\": \"Rh - отрицательный\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"linkId\": \"1.3\",\r\n                                \"text\": \"Группа крови по Kell\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeKell\",\r\n                                            \"code\": \"no\",\r\n                                            \"display\": \"неизвестно\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"ImmunizationRecommendation/ImmunizationRecommendationForTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"ImmunizationRecommendation\",\r\n                \"id\": \"ImmunizationRecommendationForTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImmunizationRecommendationBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/PractitionerRoleImm\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"date\": \"2025-02-05T15:30:00Z\",\r\n                \"authority\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"recommendation\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-01-12\",\r\n                                    \"end\": \"2025-01-12\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"26\",\r\n                                        \"display\": \"туберкулез\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в роддоме\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-01-15\",\r\n                                    \"end\": \"2025-01-15\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"8\",\r\n                                        \"display\": \"гепатит B\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в роддоме\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-07-01\",\r\n                                    \"end\": \"2025-07-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация1\",\r\n                                            \"display\": \"Вакцинация 1\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"11\",\r\n                                        \"display\": \"дифтерия\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"15\",\r\n                                        \"display\": \"кокоюш\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"25\",\r\n                                        \"display\": \"столбняк\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-10-01\",\r\n                                    \"end\": \"2030-10-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"17\",\r\n                                        \"display\": \"корь\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"18\",\r\n                                        \"display\": \"краснуха\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"28\",\r\n                                        \"display\": \"эпидемический паротит\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-12-01\",\r\n                                    \"end\": \"2030-12-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"Вакцинация2\",\r\n                                            \"display\": \"Вакцинация2\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"11\",\r\n                                        \"display\": \"дифтерия\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"15\",\r\n                                        \"display\": \"кокоюш\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"25\",\r\n                                        \"display\": \"столбняк\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-12-01\",\r\n                                    \"end\": \"2030-12-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"Вакцинация2\",\r\n                                            \"display\": \"Вакцинация2\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"21\",\r\n                                        \"display\": \"полиомиелит\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleFluorography\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleFluorography\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportFluorography\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 0.04,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"109/01\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/PreventChestXRay\",\r\n                            \"code\": \"A06-09-006-008-add\",\r\n                            \"display\": \"Рентгенография грудной клетки профилактическая на цифровом аппарате сканирующего типа (в одной проекции)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-07-11T09:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Очаговых и инфильтративных теней не определяется. Легочной рисунок усилен. \\n                Корни не расширены, структурны. Синусы свободны. Тень сердца отклонена влево. \\n                **Заключение:** органы грудной клетки без патологических изменений.\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"AllergyIntolerance/ExampleAllergyIntolerCase3\",\r\n            \"resource\": {\r\n                \"resourceType\": \"AllergyIntolerance\",\r\n                \"id\": \"ExampleAllergyIntolerCase3\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/AllergyIntoleranceBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AllergyTriggerString\",\r\n                        \"valueString\": \"Арахис\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AllergyIntolerCategory\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceCauses\",\r\n                                    \"code\": \"food\",\r\n                                    \"display\": \"Пищевые продукты\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceClinicalStatus\",\r\n                            \"code\": \"active\",\r\n                            \"display\": \"Наличие симптомов и/или клинических проявлений\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"verificationStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceVerificationStatus\",\r\n                            \"code\": \"confirmed\",\r\n                            \"display\": \"Подтвержденная: клинически или лабораторно подтвержден факт аллергии/непереносимости\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceType\",\r\n                            \"code\": \"allergy\",\r\n                            \"display\": \"Аллергия (иммунный механизм)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"category\": [\r\n                    \"food\"\r\n                ],\r\n                \"criticality\": \"low\",\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"onsetDateTime\": \"2026-04-20\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Пациенту даны рекомендации строго придерживаться диеты, которая исключает употребление продуктов, содержащих арахис. Назначены лабораторные исследования для подтверждения аллергии\"\r\n                    }\r\n                ],\r\n                \"reaction\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/Measures\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AEReportMeasures\",\r\n                                            \"code\": \"no-treatment\",\r\n                                            \"display\": \"без лечения\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"manifestation\": [\r\n                            {\r\n                                \"reference\": {\r\n                                    \"reference\": \"Observation/ObservationTest4\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"description\": \"Через 10-15 минут после съеденного батончика появилась крапивница (очаги на шее, туловище и верхних конечностях), зуд кожи, тошнота\",\r\n                        \"onset\": \"2026-04-20\",\r\n                        \"exposureRoute\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MedicationRouteAdmin\",\r\n                                    \"code\": \"048\",\r\n                                    \"display\": \"для приема внутрь\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/ObservationTest4\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"ObservationTest4\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ObservationObjective\"\r\n                    ]\r\n                },\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ObservationCategoryCode\",\r\n                                \"code\": \"exam\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ObservationObjectiveCode\",\r\n                            \"code\": \"skin\",\r\n                            \"display\": \"Кожный покров\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectiveDateTime\": \"2026-04-19T11:12:21Z\",\r\n                \"issued\": \"2026-04-19T11:12:21Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"valueString\": \"Сыпь по всему телу\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Encounter/EncounterTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Encounter\",\r\n                \"id\": \"EncounterTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/EncounterGeneral\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfVisit\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfVisit\",\r\n                                    \"code\": \"card-digitization\",\r\n                                    \"display\": \"оцифровка медицинской карты\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"class\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                \"code\": \"1\",\r\n                                \"display\": \"амбулаторные\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"type\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/TypeOfHealthCare\",\r\n                                \"code\": \"absent\",\r\n                                \"display\": \"Отсутствует\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"serviceProvider\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"actualPeriod\": {\r\n                    \"start\": \"2026-09-17T10:12:21Z\",\r\n                    \"end\": \"2026-09-17T10:25:21Z\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTest2\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTest2\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-09-17\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"T88.7\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"T88.7 - Патологическая реакция на лекарственное средство и медикаменты неуточненная\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-09-17\",\r\n                \"recordedDate\": \"2026-09-17\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Данные были отправлены в ЦИСЗ при оцифровке медицинской карты\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDRpedECG0\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDRpedECG11\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RecomendationForFuncDiagConclusion\",\r\n                        \"valueString\": \"Консультация кардиолога\"\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"№21\"\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"02/1\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/VSDiagnosticMethodsFD\",\r\n                            \"code\": \"A05-10-002-001-add\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectiveDateTime\": \"2026-07-04\",\r\n                \"issued\": \"2026-07-07T12:10:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Синусовый ритм, ЧСС 135 уд/мин, вертикальное положение ЭОС\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/ExampleUltrasoundObsDR\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"ExampleUltrasoundObsDR\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ObservationUltrasound\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Location/{{LocationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"2026-001\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/UltrasoundTypes\",\r\n                            \"code\": \"A04-28-001\",\r\n                            \"display\": \"УЗИ почек\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-04-20T12:05:00Z\",\r\n                    \"end\": \"2026-04-20T12:15:00Z\"\r\n                },\r\n                \"issued\": \"2026-04-20T12:20:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PerformerTypeObservation\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/PerformerType\",\r\n                                            \"code\": \"organization-per\",\r\n                                            \"display\": \"организация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PerformerTypeObservation\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/PerformerType\",\r\n                                            \"code\": \"practitionerRole-per\",\r\n                                            \"display\": \"роль медработника\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"component\": [\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-location\",\r\n                                    \"display\": \"Расположение правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обычное\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-borders\",\r\n                                    \"display\": \"Контуры правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Ровные, четкие\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-length\",\r\n                                    \"display\": \"Длина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 105,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-thickness\",\r\n                                    \"display\": \"Толщина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 45,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-width\",\r\n                                    \"display\": \"Ширина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 52,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-width\",\r\n                                    \"display\": \"Толщина паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 18,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-echogenicity\",\r\n                                    \"display\": \"Эхогенность паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"normal\",\r\n                                    \"display\": \"Норма\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-structure\",\r\n                                    \"display\": \"Структура паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"homogeneous\",\r\n                                    \"display\": \"Однородная\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-pelvicalyceal\",\r\n                                    \"display\": \"Чашечно-лоханочная система правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Не расширена\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-lesions\",\r\n                                    \"display\": \"Очаговые образования (правая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-stones\",\r\n                                    \"display\": \"Конкременты (правая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-location\",\r\n                                    \"display\": \"Расположение левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обычное\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-borders\",\r\n                                    \"display\": \"Контуры левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Ровные, четкие\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-length\",\r\n                                    \"display\": \"Длина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 108,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-width\",\r\n                                    \"display\": \"Толщина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 42,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-width\",\r\n                                    \"display\": \"Ширина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 49,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-width\",\r\n                                    \"display\": \"Толщина паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 22,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-echogenicity\",\r\n                                    \"display\": \"Эхогенность паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"normal\",\r\n                                    \"display\": \"Норма\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-structure\",\r\n                                    \"display\": \"Структура паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"homogeneous\",\r\n                                    \"display\": \"Однородная\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-pelvicalyceal\",\r\n                                    \"display\": \"Чашечно-лоханочная система левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Не расширена\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-lesions\",\r\n                                    \"display\": \"Очаговые образования (левая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-stones\",\r\n                                    \"display\": \"Конкременты (левая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"additional-info\",\r\n                                    \"display\": \"Дополнительная информация\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обнаружен единичный конкремент чашечно-лоханочной системы правой почки до 6 мм\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDiagnosticReportObsDR\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDiagnosticReportObsDR\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Location/{{LocationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RecomendationForFuncDiagConclusion\",\r\n                        \"valueString\": \"Рекомендовано наблюдение уролога, контрольное УЗИ в динамике\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ExaminationPriority\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ExaminationPriority\",\r\n                                    \"code\": \"routine\",\r\n                                    \"display\": \"планово\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"2026-001\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/UltrasoundTypes\",\r\n                            \"code\": \"A04-28-001\",\r\n                            \"display\": \"УЗИ почек\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-04-20T12:05:00Z\",\r\n                    \"end\": \"2026-04-20T12:15:00Z\"\r\n                },\r\n                \"issued\": \"2026-04-20T12:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"result\": [\r\n                    {\r\n                        \"reference\": \"Observation/ExampleUltrasoundObsDR\"\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Исследование выполнено первично по поводу эпизода почечной колики. Визуализация почек удовлетворительная\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"УЗИ-признаки нефролитиаза справа: единичный конкремент чашечно-лоханочной системы правой почки до 6 мм\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"ImagingStudy/ImagingStudyTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"ImagingStudy\",\r\n                \"id\": \"ImagingStudyTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImagingStudyBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/imageState\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImageState\",\r\n                                    \"code\": \"archived\",\r\n                                    \"display\": \"Архивированное\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/characterSet\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/CharacterSet\",\r\n                                    \"code\": \"[ISO IR 100]\",\r\n                                    \"display\": \"[ISO IR 100]\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/endTime\",\r\n                        \"valueDateTime\": \"2005-04-08T08:55:35Z\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/imageType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImageType\",\r\n                                    \"code\": \"Original image\",\r\n                                    \"display\": \"Оригинальное изображение\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/contrastEnhanced\",\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ctStudyDLP\",\r\n                        \"valueDecimal\": 300\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 2.83,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"{{StudyInstanceUID}}\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"status\": \"registered\",\r\n                \"modality\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/DICOMmodalities\",\r\n                                \"code\": \"{{modality}}\",\r\n                                \"display\": \"Позитронно-эмиссионная томография\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"started\": \"2013-01-02T00:00:00Z\",\r\n                \"referrer\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"procedure\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DiagnosticImagingStudy\",\r\n                                    \"code\": \"A06-09-005-002\",\r\n                                    \"display\": \"КТ грудной клетки (без и с контрастным усилением)\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"series\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ImagingStudyLink\",\r\n                                \"valueString\": \"/export/dcm?study={{StudyInstanceUID}}/series={{SeriesInstanceUID}}\"\r\n                            }\r\n                        ],\r\n                        \"uid\": \"{{SeriesInstanceUID}}\",\r\n                        \"modality\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DICOMmodalities\",\r\n                                    \"code\": \"{{modality}}\",\r\n                                    \"display\": \"Позитронно-эмиссионная томография\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"started\": \"2026-01-02T00:00:00Z\",\r\n                        \"performer\": [\r\n                            {\r\n                                \"actor\": {\r\n                                    \"reference\": \"Device/{{DeviceId}}\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"instance\": [\r\n                            {\r\n                                \"uid\": \"{{InstanceUID}}\",\r\n                                \"sopClass\": {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SOPclasses\",\r\n                                    \"code\": \"1.2.840.10008.5.1.4.1.1.128\",\r\n                                    \"display\": \"Хранение инкапсулированного MTL\"\r\n                                }\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/DiagnosticReport11\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"DiagnosticReport11\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImagingDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"126\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"preliminary\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03\",\r\n                                \"display\": \"Диагностика\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/DiagnosticImagingStudy\",\r\n                            \"code\": \"A06-09-005-002\",\r\n                            \"display\": \"КТ грудной клетки (без и с контрастным усилением)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-06-21T13:00:00Z\",\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"### Описание исследования:\\nПроведена РКТ грудной клетки с внутривенным контрастированием. Корни тяжисты. Легочные поля воздушны. В плеральной полости слева незначительное количество жидкости\"\r\n                    }\r\n                ],\r\n                \"study\": [\r\n                    {\r\n                        \"reference\": \"ImagingStudy/ImagingStudyTest\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Остаточные являния перенесенной пневмонии\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTestNail\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTestNail\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-09-17\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"L60.0\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"L60.0 - Вросший ноготь\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-09-17\",\r\n                \"recordedDate\": \"2026-09-17\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Данные были отправлены в ЦИСЗ при оцифровке медицинской карты\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/NailTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"NailTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/SurgicalProcedure\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FromOrganization\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"free\",\r\n                                    \"display\": \"Бесплатные услуги\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/TermsOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                    \"code\": \"3\",\r\n                                    \"display\": \"в условиях отделения дневного пребывания\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AnesthesiaType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AnesthesiaType\",\r\n                                    \"code\": \"local\",\r\n                                    \"display\": \"местная анестезия\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ProcedureUrgency\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ProcedureUrgency\",\r\n                                    \"code\": \"planned\",\r\n                                    \"display\": \"Плановое\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"13589\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ProcedureType\",\r\n                                \"code\": \"radical\",\r\n                                \"display\": \"Радикальная\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/SurgicalInterventions\",\r\n                            \"code\": \"QDSH20\",\r\n                            \"display\": \"Коррекция деформации ногтевой пластины пальца стопы\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Коррекция деформации ногтевой пластины пальца стопы\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-04-20T12:00:00Z\",\r\n                    \"end\": \"2026-04-20T12:20:00Z\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OperatingTeam\",\r\n                                    \"code\": \"operator\",\r\n                                    \"display\": \"врач-хирург оперирующий\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        },\r\n                        \"period\": {\r\n                            \"start\": \"2026-04-20T12:00:00Z\",\r\n                            \"end\": \"2026-04-20T12:20:00Z\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"location\": {\r\n                    \"reference\": \"Location/{{LocationId}}\"\r\n                },\r\n                \"reason\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SurgicalInterventionDiagnosis\",\r\n                                    \"code\": \"postoperative\",\r\n                                    \"display\": \"Диагноз после вмешательства\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"reference\": {\r\n                            \"reference\": \"Condition/ConditionTestNail\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Обработка операционного поля. Выполнено местное обезболивание. Иссечение вросшего края ногтевой пластины. Антисептическая обработка раны. Асептическая повязка\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ExampleDiagnosisEndoscopy2\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ExampleDiagnosisEndoscopy2\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\",\r\n                                    \"display\": \"Заключительный диагноз\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-05-10\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/CourseOfDisease\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/CourseOfDisease\",\r\n                                    \"code\": \"acute\",\r\n                                    \"display\": \"Острое течение заболевания\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FirstTimeRevealed\",\r\n                        \"valueBoolean\": true\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"K29.7\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"K29.7 - Гастрит неуточненный\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-05-10\",\r\n                \"recordedDate\": \"2026-05-10\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Гастрит неуточненный\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/ExampleEndoscopyFGDS\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"ExampleEndoscopyFGDS\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/SurgicalProcedure\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FromOrganization\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"free\",\r\n                                    \"display\": \"Бесплатные услуги\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/TermsOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                    \"code\": \"1\",\r\n                                    \"display\": \"амбулаторные\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AnesthesiaType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AnesthesiaType\",\r\n                                    \"code\": \"local\",\r\n                                    \"display\": \"местная анестезия\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ProcedureUrgency\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ProcedureUrgency\",\r\n                                    \"code\": \"planned\",\r\n                                    \"display\": \"Плановое\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"12469\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ProcedureType\",\r\n                                \"code\": \"diagnostic\",\r\n                                \"display\": \"Диагностическая\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/SurgicalInterventions\",\r\n                            \"code\": \"JDE005\",\r\n                            \"display\": \"Гастроскопия с биопсией\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Гастроскопия с биопсией\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-05-10T10:00:00Z\",\r\n                    \"end\": \"2026-05-10T10:30:00Z\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OperatingTeam\",\r\n                                    \"code\": \"endo\",\r\n                                    \"display\": \"врач-эндоскопист\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        },\r\n                        \"period\": {\r\n                            \"start\": \"2026-05-10T10:00:00Z\",\r\n                            \"end\": \"2026-05-10T10:30:00Z\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"location\": {\r\n                    \"reference\": \"Location/{{LocationId}}\"\r\n                },\r\n                \"reason\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SurgicalInterventionDiagnosis\",\r\n                                    \"code\": \"postoperative\",\r\n                                    \"display\": \"Диагноз после вмешательства\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"reference\": {\r\n                            \"reference\": \"Condition/ExampleDiagnosisEndoscopy2\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Выполнено местное обезболивание. Пищевод свободно проходим. Слизистая пищевода бледно-розовой окраски. Розетка кардии смыкается полностью. \\n  В желудке слизь. Складки извитые, сочные. Слизистая желудка умеренно гиперемированная, отечная.\\n  Привратник округлой формы, проходим. Слизистая луковицы 12 п.к. бледно-розовой окраски. Взята биопсия из желудка, слизистая оболочка.\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDRGeneralUrineAnalysis\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDRGeneralUrineAnalysis\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportLab\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ResearchMethods\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OlisMethodsSplit\",\r\n                                    \"code\": \"2\",\r\n                                    \"display\": \"Автоматизированное определение\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"1237\",\r\n                        \"assigner\": {\r\n                            \"extension\": [\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                                    \"valueReference\": {\r\n                                        \"reference\": \"Location/{{LocationId}}\"\r\n                                    }\r\n                                }\r\n                            ],\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/TypesOfLabTests\",\r\n                            \"code\": \"1.1\",\r\n                            \"display\": \"Клинический анализ мочи, скрининг\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-08-30T15:00:00Z\",\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Показатели мочи в норме\"\r\n            }\r\n        }\r\n    ]\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/$import",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Bundle",
                "$import"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение статуса импорта пакета медицинской информации",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/{{bundleId}}/$status",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Bundle",
                "{{bundleId}}",
                "$status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-07&end=2026-09",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-07"
                },
                {
                  "key": "end",
                  "value": "2026-09"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-04&end=2026-06",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-04"
                },
                {
                  "key": "end",
                  "value": "2026-06"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации о закреплении пациента за медицинской организацией",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Contract?_profile=https://fhir.by/StructureDefinition/PlaceOfCare&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Contract"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/PlaceOfCare"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ответов по трансфузиологическому анамнезу",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/QuestionnaireResponse?_profile=https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "QuestionnaireResponse"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск набора рекомендаций по проведению профилактических прививок",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let ImmunizationById = jsonData.entry.find(obj => obj.resource.resourceType === \"Immunization\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"ImmunizationById\", ImmunizationById);\r",
                  "console.log(ImmunizationById)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/ImmunizationRecommendation?_profile=https://fhir.by/StructureDefinition/ImmunizationRecommendationBy&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "ImmunizationRecommendation"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImmunizationRecommendationBy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключения профилактической рентгенографии грудной клетки",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let Fluorography = jsonData.entry.find(obj => obj.resource.resourceType === \"DiagnosticReport\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"Fluorography\", Fluorography);\r",
                  "console.log(Fluorography)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/DiagnosticReportFluorography&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/DiagnosticReportFluorography"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об аллергии или непереносимости у пациента",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/AllergyIntolerance?_profile=https://fhir.by/StructureDefinition/AllergyIntoleranceBy&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "AllergyIntolerance"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AllergyIntoleranceBy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ответов по аллергологическому анамнезу",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/QuestionnaireResponse?_profile=https://fhir.by/StructureDefinition/AllergologyAnamnesis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "QuestionnaireResponse"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AllergologyAnamnesis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск обращений пациента за медицинской помощью",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Encounter?_profile=https://fhir.by/StructureDefinition/EncounterGeneral&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Encounter"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/EncounterGeneral"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации, содержащей сведения о диагнозе пациента",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Condition?_profile=https://fhir.by/StructureDefinition/FinalDiagnosis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Condition"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/FinalDiagnosis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск набора изображений исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let ImagingStudy = jsonData.entry.find(obj => obj.resource.resourceType === \"ImagingStudy\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"ImagingStudyID1\", ImagingStudy);\r",
                  "console.log(ImagingStudy)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/ImagingStudy?_profile=https://fhir.by/StructureDefinition/ImagingStudyBy&patient=Patient/{{patientId}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "ImagingStudy"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImagingStudyBy"
                },
                {
                  "key": "patient",
                  "value": "Patient/{{patientId}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключения рентгенфлюорографического исследования органов грудной клетки",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/ImagingDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImagingDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated",
                  "type": "text"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключений функционального исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключений по результатам ультразвукового исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об оперативном или диагностическом вмешательстве, проведенных пациенту",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Procedure?_profile=https://fhir.by/StructureDefinition/SurgicalProcedure&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Procedure"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/SurgicalProcedure"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск неструктурированного документа",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DocumentReference?_profile=https://fhir.by/StructureDefinition/AttachDocument&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DocumentReference"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AttachDocument"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Показ документа",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/{{attachment_url}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "{{attachment_url}}"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Ситуация 3. По пациенту ранее уже были переданы данные в ЦИСЗ, но часть сведений отсутствует или неактуальна",
      "item": [
        {
          "name": "Предварительные условия",
          "item": [
            {
              "name": "Метод импорта пакета медицинской информации (Создание пациента)",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r\n    pm.response.to.have.status(202);\r\n});\r\n\r\nvar jsonData = pm.response.json();\r\nlet bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r\nlet statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r\n\r\nconsole.log(statusReference.valueReference.reference);\r\n\r\npm.collectionVariables.set(\"bundleId\", bundleId);\r\npm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r\n"
                    ]
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Fhir-By-Version",
                    "value": "active"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n                \"resourceType\": \"Patient\",\r\n                \"id\": \"PatientTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PatientWithIdentificationNumber\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/IncapacityExtension\",\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/DisabilityGroup\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DisabilityGroup\",\r\n                                    \"code\": \"3_group\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/DisabilityReason\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DisabilityReason\",\r\n                                    \"code\": \"general\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PatientStudyPlace\",\r\n                                \"valueString\": \"БГУ\"\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PatientStudyKind\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/EducationKind\",\r\n                                            \"code\": \"student\",\r\n                                            \"display\": \"Студент очной формы обучения\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PatientTermOfStudy\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2015-09-01\",\r\n                                    \"end\": \"2019-08-01\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"url\": \"https://fhir.by/StructureDefinition/PatientStudy\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/PatientPreferences\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSPatientPreferences\",\r\n                                    \"code\": \"6\",\r\n                                    \"display\": \"Дети-инвалиды в возрасте до 18 лет и дети в возрасте до 3 лет.\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean\",\r\n                                \"valueBoolean\": true\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2026-01-15\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ConsentPersonalData\"\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"use\": \"usual\",\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"version\": \"1.10\",\r\n                                    \"code\": \"INP\",\r\n                                    \"display\": \"Уникальный идентификационный номер\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111185A009PB5\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"extension\": [\r\n                                    {\r\n                                        \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedString\",\r\n                                        \"valueString\": \"Центральным РУВД г Минска, 21.08.2021\"\r\n                                    },\r\n                                    {\r\n                                        \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedDate\",\r\n                                        \"valueDate\": \"2022-08-21\"\r\n                                    },\r\n                                    {\r\n                                        \"url\": \"https://fhir.by/StructureDefinition/PassportIssuedCode\",\r\n                                        \"valueCodeableConcept\": {\r\n                                            \"coding\": [\r\n                                                {\r\n                                                    \"system\": \"https://fhir.by/ValueSet/OCAM\",\r\n                                                    \"version\": \"1.3\",\r\n                                                    \"code\": \"Minsk\",\r\n                                                    \"display\": \"Минск\"\r\n                                                }\r\n                                            ]\r\n                                        }\r\n                                    }\r\n                                ],\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PassportIssued\"\r\n                            }\r\n                        ],\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"version\": \"1.10\",\r\n                                    \"code\": \"Passport-RB\",\r\n                                    \"display\": \"Паспорт гражданина Республики Беларусь\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"MM0123446\"\r\n                    },\r\n                    {\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"version\": \"1.10\",\r\n                                    \"code\": \"CDP\",\r\n                                    \"display\": \"Удостоверение инвалида\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"CDP0123446\",\r\n                        \"period\": {\r\n                            \"start\": \"2022-08-21\",\r\n                            \"end\": \"2027-08-20\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Кузнецова\",\r\n                        \"given\": [\r\n                            \"Нина\",\r\n                            \"Петровна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"email\",\r\n                        \"value\": \"test_maill@mail.by\"\r\n                    },\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375297556655\"\r\n                    }\r\n                ],\r\n                \"gender\": \"female\",\r\n                \"birthDate\": \"1989-12-01\",\r\n                \"deceasedBoolean\": false,\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.31\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"1.3\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.31\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"1.3\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"temp\",\r\n                        \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                    }\r\n                ],\r\n                \"maritalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                            \"version\": \"1.1\",\r\n                            \"code\": \"married\",\r\n                            \"display\": \"женат/замужем\"\r\n                        }\r\n                    ]\r\n                }\r\n            }",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Patient"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Поиск пациента в ЦИСЗ",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var jsonData = pm.response.json();\r",
                      "let patientId = jsonData.entry.find(obj => obj.resource.resourceType === \"Patient\").resource.id;\r",
                      "\r",
                      "pm.collectionVariables.set(\"patientId\", patientId);\r",
                      "console.log(patientId)"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient?identifier=7111185A009PB5",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Patient"
                  ],
                  "query": [
                    {
                      "key": "identifier",
                      "value": "7111185A009PB5"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Поиск ImagingStudyBasic",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "try {\r",
                      "  const json = pm.response.json();\r",
                      "\r",
                      "  const entry = json?.entry?.[0]?.resource;\r",
                      "  const exts = entry?.extension ?? [];\r",
                      "\r",
                      "  let StudyInstanceUID, SeriesInstanceUID, InstanceUID;\r",
                      "\r",
                      "  // 1) Через dicom-id\r",
                      "  const dicomExt = exts.find(e => e.url === 'dicom-id');\r",
                      "  if (dicomExt?.valueString) {\r",
                      "    const parts = dicomExt.valueString.split('/');\r",
                      "    if (parts.length >= 3) {\r",
                      "      StudyInstanceUID = parts[0];\r",
                      "      SeriesInstanceUID = parts[1];\r",
                      "      InstanceUID = parts[2];\r",
                      "    }\r",
                      "  }\r",
                      "\r",
                      "  // 2) Альтернативно — через отдельные extension\r",
                      "  if (!SeriesInstanceUID) {\r",
                      "    const serExt = exts.find(e => e.url === 'https://fhir.by/StructureDefinition/SeriesInstanceUID');\r",
                      "    if (serExt?.valueString) SeriesInstanceUID = serExt.valueString;\r",
                      "  }\r",
                      "  if (!InstanceUID) {\r",
                      "    const sopExt = exts.find(e => e.url === 'https://fhir.by/StructureDefinition/SOPInstanceUID');\r",
                      "    if (sopExt?.valueString) InstanceUID = sopExt.valueString;\r",
                      "  }\r",
                      "\r",
                      "  // Сохраняем в окружение (можно заменить на globals или collectionVariables)\r",
                      "  pm.collectionVariables.set('StudyInstanceUID', StudyInstanceUID ?? '');\r",
                      "  pm.collectionVariables.set('SeriesInstanceUID', SeriesInstanceUID ?? '');\r",
                      "  pm.collectionVariables.set('InstanceUID', InstanceUID ?? '');\r",
                      "\r",
                      "  // При желании можно залогировать результаты\r",
                      "  console.log('StudyInstanceUID:', StudyInstanceUID);\r",
                      "  console.log('SeriesInstanceUID:', SeriesInstanceUID);\r",
                      "  console.log('InstanceUID:', InstanceUID);\r",
                      "} catch (e) {\r",
                      "  console.error('Ошибка парсинга ответа FHIR:', e);\r",
                      "  // Можно установить пустые значения, чтобы не ломать последующие запросы\r",
                      "  pm.collectionVariables.set('StudyInstanceUID', '');\r",
                      "  pm.collectionVariables.set('SeriesInstanceUID', '');\r",
                      "  pm.collectionVariables.set('InstanceUID', '');\r",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Organization/{{OrganizationId}}/Basic?_profile=https://fhir.by/StructureDefinition/ImagingStudyBasic&_sort=-_lastUpdated",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Organization",
                    "{{OrganizationId}}",
                    "Basic"
                  ],
                  "query": [
                    {
                      "key": "_profile",
                      "value": "https://fhir.by/StructureDefinition/ImagingStudyBasic"
                    },
                    {
                      "key": "_sort",
                      "value": "-_lastUpdated"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Метод импорта пакета медицинской информации",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r",
                      "    pm.response.to.have.status(202);\r",
                      "});\r",
                      "\r",
                      "var jsonData = pm.response.json();\r",
                      "let bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r",
                      "let statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r",
                      "\r",
                      "console.log(statusReference.valueReference.reference);\r",
                      "\r",
                      "pm.collectionVariables.set(\"bundleId\", bundleId);\r",
                      "pm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Fhir-By-Version",
                    "value": "active"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"resourceType\": \"Bundle\",\r\n    \"id\": \"{{$guid}}\",\r\n    \"meta\": {\r\n        \"profile\": [\r\n            \"https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument\"\r\n        ]\r\n    },\r\n    \"identifier\": {\r\n        \"system\": \"https://fhir.by/ValueSet/urn:ietf:rfc:3987\",\r\n        \"value\": \"urn:uuid:{{$guid}}\"\r\n    },\r\n    \"type\": \"document\",\r\n    \"timestamp\": \"{{$isoTimestamp}}\",\r\n    \"entry\": [\r\n        {\r\n            \"fullUrl\": \"Composition/CompositionBundleTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Composition\",\r\n                \"id\": \"CompositionBundleTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/CompDocument\"\r\n                    ]\r\n                },\r\n                \"status\": \"registered\",\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/CompositionType\",\r\n                            \"code\": \"general\",\r\n                            \"display\": \"Общая медицинская информация\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/PatientTest\"\r\n                    }\r\n                ],\r\n                \"date\": \"{{$isoTimestamp}}\",\r\n                \"author\": [\r\n                    {\r\n                        \"reference\": \"Practitioner/{{PractitionerId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"Оцифровка медицинской карты пациента\",\r\n                \"custodian\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Patient/PatientTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Patient\",\r\n                \"id\": \"ExamplePatientWithIdentificationNumber\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PatientED\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/DocumentKind\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DigitalDocumentKind\",\r\n                                    \"code\": \"00\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111185A009PB5\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n               \"name\": [\r\n                    {\r\n                        \"family\": \"Кузнецова\",\r\n                        \"given\": [\r\n                            \"Нина\",\r\n                            \"Петровна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"birthDate\": \"1989-12-01\",\r\n                \"gender\": \"female\",\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375297556655\"\r\n                    }\r\n                ],\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"temp\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    }\r\n                ],\r\n                \"link\": [\r\n                    {\r\n                        \"other\": {\r\n                            \"reference\": \"Patient/{{patientId}}\"\r\n                        },\r\n                        \"type\": \"refer\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"RelatedPerson/RelatedPersonPermanent\",\r\n            \"resource\": {\r\n                \"resourceType\": \"RelatedPerson\",\r\n                \"id\": \"RelatedPersonPermanen\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/RelatedPersonPermanentBy\"\r\n                    ]\r\n                },\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Смирнова\",\r\n                        \"given\": [\r\n                            \"Анна\",\r\n                            \"Владимировна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RelatedPersonMaritalStatus\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                                    \"code\": \"married\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"use\": \"usual\",\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\",\r\n                                    \"display\": \"Уникальный идентификационный номер\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111108A009PB8\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"relationship\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/RelatedPersonType\",\r\n                                \"code\": \"mother\",\r\n                                \"display\": \"мать\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375447556655\"\r\n                    }\r\n                ],\r\n                \"gender\": \"female\",\r\n                \"birthDate\": \"1971-04-30\",\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.31\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"1.3\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"QuestionnaireResponse/ExampleTransfusAnamPatientReported\",\r\n            \"resource\": {\r\n                \"resourceType\": \"QuestionnaireResponse\",\r\n                \"id\": \"ExampleTransfusAnamPatientReported\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis\"\r\n                    ]\r\n                },\r\n                \"questionnaire\": \"https://fhir.by/Questionnaire/TransfusiologyAnamnesis\",\r\n                \"status\": \"completed\",\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"authored\": \"2026-09-17T00:00:00.000Z\",\r\n                \"author\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"source\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"item\": [\r\n                    {\r\n                        \"linkId\": \"1\",\r\n                        \"text\": \"Информация о группе крови\",\r\n                        \"item\": [\r\n                            {\r\n                                \"linkId\": \"1.1\",\r\n                                \"text\": \"Группа крови по системе AB0\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeAB0\",\r\n                                            \"code\": \"B\",\r\n                                            \"display\": \"B (III) группа\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"linkId\": \"1.2\",\r\n                                \"text\": \"RhD-принадлежность (резус-фактор)\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeRh\",\r\n                                            \"code\": \"Rh-neg\",\r\n                                            \"display\": \"Rh - отрицательный\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"linkId\": \"1.3\",\r\n                                \"text\": \"Группа крови по Kell\",\r\n                                \"answer\": [\r\n                                    {\r\n                                        \"valueCoding\": {\r\n                                            \"system\": \"https://fhir.by/ValueSet/BloodTypeKell\",\r\n                                            \"code\": \"no\",\r\n                                            \"display\": \"неизвестно\"\r\n                                        }\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"ImmunizationRecommendation/ImmunizationRecommendationForTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"ImmunizationRecommendation\",\r\n                \"id\": \"ImmunizationRecommendationForTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImmunizationRecommendationBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/PractitionerRoleImm\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"date\": \"2025-02-05T15:30:00Z\",\r\n                \"authority\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"recommendation\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-01-12\",\r\n                                    \"end\": \"2025-01-12\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"26\",\r\n                                        \"display\": \"туберкулез\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в роддоме\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-01-15\",\r\n                                    \"end\": \"2025-01-15\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"8\",\r\n                                        \"display\": \"гепатит B\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в роддоме\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2025-07-01\",\r\n                                    \"end\": \"2025-07-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация1\",\r\n                                            \"display\": \"Вакцинация 1\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"11\",\r\n                                        \"display\": \"дифтерия\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"15\",\r\n                                        \"display\": \"кокоюш\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"25\",\r\n                                        \"display\": \"столбняк\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"complete\",\r\n                                    \"display\": \"вакцинация проведена\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-10-01\",\r\n                                    \"end\": \"2030-10-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"вакцинация\",\r\n                                            \"display\": \"Вакцинация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"17\",\r\n                                        \"display\": \"корь\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"18\",\r\n                                        \"display\": \"краснуха\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"28\",\r\n                                        \"display\": \"эпидемический паротит\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-12-01\",\r\n                                    \"end\": \"2030-12-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"Вакцинация2\",\r\n                                            \"display\": \"Вакцинация2\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"11\",\r\n                                        \"display\": \"дифтерия\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"15\",\r\n                                        \"display\": \"кокоюш\"\r\n                                    }\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"25\",\r\n                                        \"display\": \"столбняк\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/DateCriterionPeriod\",\r\n                                \"valuePeriod\": {\r\n                                    \"start\": \"2030-12-01\",\r\n                                    \"end\": \"2030-12-30\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccinationType\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AISReportVaccinationType\",\r\n                                            \"code\": \"Вакцинация2\",\r\n                                            \"display\": \"Вакцинация2\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/VaccineDose\",\r\n                                \"valueQuantity\": {\r\n                                    \"value\": 1,\r\n                                    \"unit\": \"Доза\",\r\n                                    \"system\": \"https://fhir.by/ValueSet/AISReportUnits\",\r\n                                    \"code\": \"1\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"targetDisease\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/AISReportImmunizationTargetDiseases\",\r\n                                        \"code\": \"21\",\r\n                                        \"display\": \"полиомиелит\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"forecastStatus\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImmunizationRecommendationStatus\",\r\n                                    \"code\": \"plan\",\r\n                                    \"display\": \"вакцинация планируется\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"description\": \"Вакцинирован в соответствии Национальным календарем прививок\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleFluorography\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleFluorography\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportFluorography\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 0.04,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"108/01\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/PreventChestXRay\",\r\n                            \"code\": \"A06-09-006-008-add\",\r\n                            \"display\": \"Рентгенография грудной клетки профилактическая на цифровом аппарате сканирующего типа (в одной проекции)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2025-07-11T09:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Очаговых и инфильтративных теней не определяется. Легочной рисунок усилен. \\n                Корни не расширены, структурны. Синусы свободны. Тень сердца отклонена влево. \\n                **Заключение:** органы грудной клетки без патологических изменений.\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"AllergyIntolerance/ExampleAllergyIntolerCase3\",\r\n            \"resource\": {\r\n                \"resourceType\": \"AllergyIntolerance\",\r\n                \"id\": \"ExampleAllergyIntolerCase3\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/AllergyIntoleranceBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AllergyTriggerString\",\r\n                        \"valueString\": \"Арахис\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AllergyIntolerCategory\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceCauses\",\r\n                                    \"code\": \"food\",\r\n                                    \"display\": \"Пищевые продукты\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceClinicalStatus\",\r\n                            \"code\": \"active\",\r\n                            \"display\": \"Наличие симптомов и/или клинических проявлений\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"verificationStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceVerificationStatus\",\r\n                            \"code\": \"confirmed\",\r\n                            \"display\": \"Подтвержденная: клинически или лабораторно подтвержден факт аллергии/непереносимости\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/AllergyIntoleranceType\",\r\n                            \"code\": \"allergy\",\r\n                            \"display\": \"Аллергия (иммунный механизм)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"category\": [\r\n                    \"food\"\r\n                ],\r\n                \"criticality\": \"low\",\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"onsetDateTime\": \"2026-04-20\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Пациенту даны рекомендации строго придерживаться диеты, которая исключает употребление продуктов, содержащих арахис. Назначены лабораторные исследования для подтверждения аллергии\"\r\n                    }\r\n                ],\r\n                \"reaction\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/Measures\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/AEReportMeasures\",\r\n                                            \"code\": \"no-treatment\",\r\n                                            \"display\": \"без лечения\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"manifestation\": [\r\n                            {\r\n                                \"reference\": {\r\n                                    \"reference\": \"Observation/ObservationTest4\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"description\": \"Через 10-15 минут после съеденного батончика появилась крапивница (очаги на шее, туловище и верхних конечностях), зуд кожи, тошнота\",\r\n                        \"onset\": \"2026-04-20\",\r\n                        \"exposureRoute\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MedicationRouteAdmin\",\r\n                                    \"code\": \"048\",\r\n                                    \"display\": \"для приема внутрь\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/ObservationTest4\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"ObservationTest4\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ObservationObjective\"\r\n                    ]\r\n                },\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ObservationCategoryCode\",\r\n                                \"code\": \"exam\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ObservationObjectiveCode\",\r\n                            \"code\": \"skin\",\r\n                            \"display\": \"Кожный покров\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectiveDateTime\": \"2026-04-19T11:12:21Z\",\r\n                \"issued\": \"2026-04-19T11:12:21Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"valueString\": \"Сыпь по всему телу\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Encounter/EncounterTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Encounter\",\r\n                \"id\": \"EncounterTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/EncounterGeneral\"\r\n                    ]\r\n                },\r\n                \"status\": \"completed\",\r\n                \"class\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                \"code\": \"1\",\r\n                                \"display\": \"амбулаторные\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"type\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/TypeOfHealthCare\",\r\n                                \"code\": \"primary\",\r\n                                \"display\": \"Плановая медицинская помощь\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"serviceProvider\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"actualPeriod\": {\r\n                    \"start\": \"2026-09-17T10:12:21Z\",\r\n                    \"end\": \"2026-09-17T10:25:21Z\"\r\n                },\r\n                \"diagnosis\": [\r\n                    {\r\n                        \"condition\": [\r\n                            {\r\n                                \"reference\": {\r\n                                    \"reference\": \"Condition/ConditionTest\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"use\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/TypeOfDiagnosis\",\r\n                                        \"code\": \"mainDiagnosis\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-09-17\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"Z00.0\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Z00.0 - Общий медицинский осмотр\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-09-17\",\r\n                \"recordedDate\": \"2026-09-17\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Данные были отправлены в ЦИСЗ при оцифровке медицинской карты\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTest2\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTest2\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-09-17\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"T88.7\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"T88.7 - Патологическая реакция на лекарственное средство и медикаменты неуточненная\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-09-17\",\r\n                \"recordedDate\": \"2026-09-17\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Данные были отправлены в ЦИСЗ при оцифровке медицинской карты\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"ImagingStudy/ImagingStudyTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"ImagingStudy\",\r\n                \"id\": \"ImagingStudyTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImagingStudyBy\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/imageState\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImageState\",\r\n                                    \"code\": \"archived\",\r\n                                    \"display\": \"Архивированное\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/characterSet\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/CharacterSet\",\r\n                                    \"code\": \"[ISO IR 100]\",\r\n                                    \"display\": \"[ISO IR 100]\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/endTime\",\r\n                        \"valueDateTime\": \"2005-04-08T08:55:35Z\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/imageType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ImageType\",\r\n                                    \"code\": \"Original image\",\r\n                                    \"display\": \"Оригинальное изображение\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/contrastEnhanced\",\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ctStudyDLP\",\r\n                        \"valueDecimal\": 300\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 2.83,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"{{StudyInstanceUID}}\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"status\": \"registered\",\r\n                \"modality\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/DICOMmodalities\",\r\n                                \"code\": \"{{modality}}\",\r\n                                \"display\": \"Позитронно-эмиссионная томография\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"started\": \"2013-01-02T00:00:00Z\",\r\n                \"referrer\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"procedure\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DiagnosticImagingStudy\",\r\n                                    \"code\": \"A06-09-005-002\",\r\n                                    \"display\": \"КТ грудной клетки (без и с контрастным усилением)\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"series\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ImagingStudyLink\",\r\n                                \"valueString\": \"/export/dcm?study={{StudyInstanceUID}}/series={{SeriesInstanceUID}}\"\r\n                            }\r\n                        ],\r\n                        \"uid\": \"{{SeriesInstanceUID}}\",\r\n                        \"modality\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DICOMmodalities\",\r\n                                    \"code\": \"{{modality}}\",\r\n                                    \"display\": \"Позитронно-эмиссионная томография\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"started\": \"2026-01-02T00:00:00Z\",\r\n                        \"performer\": [\r\n                            {\r\n                                \"actor\": {\r\n                                    \"reference\": \"Device/{{DeviceId}}\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"instance\": [\r\n                            {\r\n                                \"uid\": \"{{InstanceUID}}\",\r\n                                \"sopClass\": {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SOPclasses\",\r\n                                    \"code\": \"1.2.840.10008.5.1.4.1.1.128\",\r\n                                    \"display\": \"Хранение инкапсулированного MTL\"\r\n                                }\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/DiagnosticReport11\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"DiagnosticReport11\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ImagingDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"126\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"preliminary\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03\",\r\n                                \"display\": \"Диагностика\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/DiagnosticImagingStudy\",\r\n                            \"code\": \"A06-09-005-002\",\r\n                            \"display\": \"КТ грудной клетки (без и с контрастным усилением)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-06-21T13:00:00Z\",\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"### Описание исследования:\\nПроведена РКТ грудной клетки с внутривенным контрастированием. Корни тяжисты. Легочные поля воздушны. В плеральной полости слева незначительное количество жидкости\"\r\n                    }\r\n                ],\r\n                \"study\": [\r\n                    {\r\n                        \"reference\": \"ImagingStudy/ImagingStudyTest\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Остаточные являния перенесенной пневмонии\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDRpedECG0\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDRpedECG11\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RecomendationForFuncDiagConclusion\",\r\n                        \"valueString\": \"Консультация кардиолога\"\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"№21\"\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"02/1\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/VSDiagnosticMethodsFD\",\r\n                            \"code\": \"A05-10-002-001-add\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectiveDateTime\": \"2026-07-04\",\r\n                \"issued\": \"2026-07-07T12:10:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Синусовый ритм, ЧСС 135 уд/мин, вертикальное положение ЭОС\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Observation/ExampleUltrasoundObsDR\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Observation\",\r\n                \"id\": \"ExampleUltrasoundObsDR\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/ObservationUltrasound\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Location/{{LocationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"2026-001\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/UltrasoundTypes\",\r\n                            \"code\": \"A04-28-001\",\r\n                            \"display\": \"УЗИ почек\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-04-20T12:05:00Z\",\r\n                    \"end\": \"2026-04-20T12:15:00Z\"\r\n                },\r\n                \"issued\": \"2026-04-20T12:20:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PerformerTypeObservation\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/PerformerType\",\r\n                                            \"code\": \"organization-per\",\r\n                                            \"display\": \"организация\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/PerformerTypeObservation\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/PerformerType\",\r\n                                            \"code\": \"practitionerRole-per\",\r\n                                            \"display\": \"роль медработника\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"component\": [\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-location\",\r\n                                    \"display\": \"Расположение правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обычное\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-borders\",\r\n                                    \"display\": \"Контуры правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Ровные, четкие\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-length\",\r\n                                    \"display\": \"Длина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 105,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-thickness\",\r\n                                    \"display\": \"Толщина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 45,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-width\",\r\n                                    \"display\": \"Ширина правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 52,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-width\",\r\n                                    \"display\": \"Толщина паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 18,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-echogenicity\",\r\n                                    \"display\": \"Эхогенность паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"normal\",\r\n                                    \"display\": \"Норма\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-parenchyma-structure\",\r\n                                    \"display\": \"Структура паренхимы правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"homogeneous\",\r\n                                    \"display\": \"Однородная\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-pelvicalyceal\",\r\n                                    \"display\": \"Чашечно-лоханочная система правой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Не расширена\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-lesions\",\r\n                                    \"display\": \"Очаговые образования (правая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-R-stones\",\r\n                                    \"display\": \"Конкременты (правая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": true\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-location\",\r\n                                    \"display\": \"Расположение левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обычное\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-borders\",\r\n                                    \"display\": \"Контуры левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Ровные, четкие\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-length\",\r\n                                    \"display\": \"Длина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 108,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-width\",\r\n                                    \"display\": \"Толщина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 42,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-width\",\r\n                                    \"display\": \"Ширина левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 49,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-width\",\r\n                                    \"display\": \"Толщина паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueQuantity\": {\r\n                            \"value\": 22,\r\n                            \"unit\": \"мм\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mm\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-echogenicity\",\r\n                                    \"display\": \"Эхогенность паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"normal\",\r\n                                    \"display\": \"Норма\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-parenchyma-structure\",\r\n                                    \"display\": \"Структура паренхимы левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltraSoundQualitativeParameters\",\r\n                                    \"code\": \"homogeneous\",\r\n                                    \"display\": \"Однородная\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-pelvicalyceal\",\r\n                                    \"display\": \"Чашечно-лоханочная система левой почки\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Не расширена\"\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-lesions\",\r\n                                    \"display\": \"Очаговые образования (левая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"kidney-L-stones\",\r\n                                    \"display\": \"Конкременты (левая почка)\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueBoolean\": false\r\n                    },\r\n                    {\r\n                        \"code\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/UltrasoundParametres\",\r\n                                    \"code\": \"additional-info\",\r\n                                    \"display\": \"Дополнительная информация\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"valueString\": \"Обнаружен единичный конкремент чашечно-лоханочной системы правой почки до 6 мм\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDiagnosticReportObsDR\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDiagnosticReportObsDR\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Location/{{LocationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RecomendationForFuncDiagConclusion\",\r\n                        \"valueString\": \"Рекомендовано наблюдение уролога, контрольное УЗИ в динамике\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ExaminationPriority\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ExaminationPriority\",\r\n                                    \"code\": \"routine\",\r\n                                    \"display\": \"планово\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"2026-001\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/HealthcareServiceCategory\",\r\n                                \"code\": \"03/1\",\r\n                                \"display\": \"Амбулаторно-поликлиническая диагностика для взрослого населения\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/UltrasoundTypes\",\r\n                            \"code\": \"A04-28-001\",\r\n                            \"display\": \"УЗИ почек\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"effectivePeriod\": {\r\n                    \"start\": \"2026-04-20T12:05:00Z\",\r\n                    \"end\": \"2026-04-20T12:15:00Z\"\r\n                },\r\n                \"issued\": \"2026-04-20T12:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"result\": [\r\n                    {\r\n                        \"reference\": \"Observation/ExampleUltrasoundObsDR\"\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Исследование выполнено первично по поводу эпизода почечной колики. Визуализация почек удовлетворительная\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"УЗИ-признаки нефролитиаза справа: единичный конкремент чашечно-лоханочной системы правой почки до 6 мм\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Encounter/EncounterTestNail\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Encounter\",\r\n                \"id\": \"EncounterTestNail\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/EncounterGeneral\"\r\n                    ]\r\n                },\r\n                \"status\": \"completed\",\r\n                \"class\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                \"code\": \"1\",\r\n                                \"display\": \"амбулаторные\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"type\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/TypeOfHealthCare\",\r\n                                \"code\": \"primary\",\r\n                                \"display\": \"Экстренная медицинская помощь\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"serviceProvider\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"actualPeriod\": {\r\n                    \"start\": \"2026-04-19T10:12:21Z\",\r\n                    \"end\": \"2026-04-19T10:25:21Z\"\r\n                },\r\n                \"diagnosis\": [\r\n                    {\r\n                        \"condition\": [\r\n                            {\r\n                                \"reference\": {\r\n                                    \"reference\": \"Condition/ConditionTest\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"use\": [\r\n                            {\r\n                                \"coding\": [\r\n                                    {\r\n                                        \"system\": \"https://fhir.by/ValueSet/TypeOfDiagnosis\",\r\n                                        \"code\": \"mainDiagnosis\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ConditionTestNail\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ConditionTestNail\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-04-19\"\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"L60.0\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"L60.0 - Вросший ноготь\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-04-19\",\r\n                \"recordedDate\": \"2026-04-19\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Данные были отправлены в ЦИСЗ при оцифровке медицинской карты\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/NailTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"NailTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/SurgicalProcedure\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FromOrganization\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"free\",\r\n                                    \"display\": \"Бесплатные услуги\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/TermsOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                    \"code\": \"3\",\r\n                                    \"display\": \"в условиях отделения дневного пребывания\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AnesthesiaType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AnesthesiaType\",\r\n                                    \"code\": \"local\",\r\n                                    \"display\": \"местная анестезия\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ProcedureUrgency\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ProcedureUrgency\",\r\n                                    \"code\": \"planned\",\r\n                                    \"display\": \"Плановое\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"13589\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ProcedureType\",\r\n                                \"code\": \"radical\",\r\n                                \"display\": \"Радикальная\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/SurgicalInterventions\",\r\n                            \"code\": \"QDSH20\",\r\n                            \"display\": \"Коррекция деформации ногтевой пластины пальца стопы\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Коррекция деформации ногтевой пластины пальца стопы\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTestNail\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-04-20T12:00:00Z\",\r\n                    \"end\": \"2026-04-20T12:20:00Z\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OperatingTeam\",\r\n                                    \"code\": \"operator\",\r\n                                    \"display\": \"врач-хирург оперирующий\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        },\r\n                        \"period\": {\r\n                            \"start\": \"2026-04-20T12:00:00Z\",\r\n                            \"end\": \"2026-04-20T12:20:00Z\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"location\": {\r\n                    \"reference\": \"Location/{{LocationId}}\"\r\n                },\r\n                \"reason\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SurgicalInterventionDiagnosis\",\r\n                                    \"code\": \"postoperative\",\r\n                                    \"display\": \"Диагноз после вмешательства\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"reference\": {\r\n                            \"reference\": \"Condition/ConditionTestNail\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Обработка операционного поля. Выполнено местное обезболивание. Иссечение вросшего края ногтевой пластины. Антисептическая обработка раны. Асептическая повязка\"\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/$import",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Bundle",
                    "$import"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Получение статуса импорта пакета медицинской информации",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/{{bundleId}}/$status",
                  "protocol": "{{Schema}}",
                  "host": [
                    "{{Proxy-host}}"
                  ],
                  "path": [
                    "fhir",
                    "Bundle",
                    "{{bundleId}}",
                    "$status"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Поиск пациента в ЦИСЗ",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let patientId = jsonData.entry.find(obj => obj.resource.resourceType === \"Patient\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"patientId\", patientId);\r",
                  "console.log(patientId)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient?identifier=7111185A009PB5",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient"
              ],
              "query": [
                {
                  "key": "identifier",
                  "value": "7111185A009PB5"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-07&end=2026-09",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-07"
                },
                {
                  "key": "end",
                  "value": "2026-09"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-04&end=2026-06",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-04"
                },
                {
                  "key": "end",
                  "value": "2026-06"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации о закреплении пациента за медицинской организацией",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Contract?_profile=https://fhir.by/StructureDefinition/PlaceOfCare&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Contract"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/PlaceOfCare"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ответов по трансфузиологическому анамнезу",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/QuestionnaireResponse?_profile=https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "QuestionnaireResponse"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/QRTransfusiologyAnamnesis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск случаев введения пациенту вакцины",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let ImmunizationById = jsonData.entry.find(obj => obj.resource.resourceType === \"Immunization\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"ImmunizationById\", ImmunizationById);\r",
                  "console.log(ImmunizationById)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Immunization?_profile=https://fhir.by/StructureDefinition/ImmunizationBy&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Immunization"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImmunizationBy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключения профилактической рентгенографии грудной клетки",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let Fluorography = jsonData.entry.find(obj => obj.resource.resourceType === \"DiagnosticReport\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"Fluorography\", Fluorography);\r",
                  "console.log(Fluorography)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/DiagnosticReportFluorography&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/DiagnosticReportFluorography"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об аллергии или непереносимости у пациента",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/AllergyIntolerance?_profile=https://fhir.by/StructureDefinition/AllergyIntoleranceBy&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "AllergyIntolerance"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AllergyIntoleranceBy"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск ответов по аллергологическому анамнезу",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/QuestionnaireResponse?_profile=https://fhir.by/StructureDefinition/AllergologyAnamnesis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "QuestionnaireResponse"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AllergologyAnamnesis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск обращений пациента за медицинской помощью",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Encounter?_profile=https://fhir.by/StructureDefinition/EncounterGeneral&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Encounter"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/EncounterGeneral"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации, содержащей сведения о диагнозе пациента",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Condition?_profile=https://fhir.by/StructureDefinition/FinalDiagnosis&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Condition"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/FinalDiagnosis"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск набора изображений исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let ImagingStudy = jsonData.entry.find(obj => obj.resource.resourceType === \"ImagingStudy\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"ImagingStudyID1\", ImagingStudy);\r",
                  "console.log(ImagingStudy)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/ImagingStudy?_profile=https://fhir.by/StructureDefinition/ImagingStudyBy&patient=Patient/{{patientId}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "ImagingStudy"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/ImagingStudyBy"
                },
                {
                  "key": "patient",
                  "value": "Patient/{{patientId}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключений функционального исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/FunctDiagDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключений по результатам ультразвукового исследования",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/UltrasoundDiagnosticReport"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об оперативном или диагностическом вмешательстве, проведенных пациенту",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Procedure?_profile=https://fhir.by/StructureDefinition/SurgicalProcedure&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Procedure"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/SurgicalProcedure"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск неструктурированного документа",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DocumentReference?_profile=https://fhir.by/StructureDefinition/AttachDocument&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DocumentReference"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/AttachDocument"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Показ документа",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/{{attachment_url}}",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "{{attachment_url}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Метод импорта пакета медицинской информации",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Валидный бандл должен отработать со статусом 202\", function () {\r",
                  "    pm.response.to.have.status(202);\r",
                  "});\r",
                  "\r",
                  "var jsonData = pm.response.json();\r",
                  "let bundleId = jsonData.parameter.find(obj => obj.name === \"ResourceId\").valueString;\r",
                  "let statusReference = jsonData.parameter.find(obj => obj.name === \"OperationStatusReference\");\r",
                  "\r",
                  "console.log(statusReference.valueReference.reference);\r",
                  "\r",
                  "pm.collectionVariables.set(\"bundleId\", bundleId);\r",
                  "pm.collectionVariables.set(\"StatusUrl\", statusReference.valueReference.reference);\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Fhir-By-Version",
                "value": "active"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"resourceType\": \"Bundle\",\r\n    \"id\": \"{{$guid}}\",\r\n    \"meta\": {\r\n        \"profile\": [\r\n            \"https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument\"\r\n        ]\r\n    },\r\n    \"identifier\": {\r\n        \"system\": \"https://fhir.by/ValueSet/urn:ietf:rfc:3987\",\r\n        \"value\": \"urn:uuid:{{$guid}}\"\r\n    },\r\n    \"type\": \"document\",\r\n    \"timestamp\": \"{{$isoTimestamp}}\",\r\n    \"entry\": [\r\n        {\r\n            \"fullUrl\": \"Composition/CompositionBundleTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Composition\",\r\n                \"id\": \"CompositionBundleTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/CompDocument\"\r\n                    ]\r\n                },\r\n                \"status\": \"registered\",\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/CompositionType\",\r\n                            \"code\": \"general\",\r\n                            \"display\": \"Общая медицинская информация\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/PatientTest\"\r\n                    }\r\n                ],\r\n                \"date\": \"{{$isoTimestamp}}\",\r\n                \"author\": [\r\n                    {\r\n                        \"reference\": \"Practitioner/{{PractitionerId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"Оцифровка медицинской карты пациента\",\r\n                \"custodian\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Patient/PatientTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Patient\",\r\n                \"id\": \"ExamplePatientWithIdentificationNumber\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PatientED\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/DocumentKind\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/DigitalDocumentKind\",\r\n                                    \"code\": \"00\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111185A009PB5\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Кузнецова\",\r\n                        \"given\": [\r\n                            \"Нина\",\r\n                            \"Петровна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"birthDate\": \"1989-12-01\",\r\n                \"gender\": \"female\",\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375297556655\"\r\n                    }\r\n                ],\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    },\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.41\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"2.0\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"temp\",\r\n                        \"text\": \"г. Минск, Улица Клары Цеткин, д.24\",\r\n                        \"line\": [\r\n                            \"Улица Клары Цеткин, д.24\"\r\n                        ],\r\n                        \"city\": \"г. Минск\",\r\n                        \"state\": \"г. Минск\",\r\n                        \"postalCode\": \"220004\",\r\n                        \"country\": \"Беларусь\"\r\n                    }\r\n                ],\r\n                \"link\": [\r\n                    {\r\n                        \"other\": {\r\n                            \"reference\": \"Patient/{{patientId}}\"\r\n                        },\r\n                        \"type\": \"refer\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Contract/ResidencePlaceOfCare\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Contract\",\r\n                \"id\": \"ResidencePlaceOfCare\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/PlaceOfCare\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AddressExtension\",\r\n                        \"valueAddress\": {\r\n                            \"extension\": [\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                    \"valueCodeableConcept\": {\r\n                                        \"coding\": [\r\n                                            {\r\n                                                \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                                \"version\": \"1.3\",\r\n                                                \"code\": \"517030104916096191\",\r\n                                                \"display\": \"д.24\"\r\n                                            }\r\n                                        ]\r\n                                    }\r\n                                },\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                    \"valueString\": \"кв. 1\"\r\n                                }\r\n                            ],\r\n                            \"use\": \"home\",\r\n                            \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"executable\",\r\n                \"issued\": \"2026-09-23\",\r\n                \"applies\": {\r\n                    \"start\": \"2026-06-05\"\r\n                },\r\n                \"subject\": [\r\n                    {\r\n                        \"reference\": \"Patient/{{patientId}}\"\r\n                    }\r\n                ],\r\n                \"authority\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"title\": \"Закрепление пациента (по месту регистрации)\",\r\n                \"author\": {\r\n                    \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                },\r\n                \"type\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/ReasonForServiceCare\",\r\n                            \"code\": \"residence\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subType\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/SubTypeServiceCare\",\r\n                                \"code\": \"main\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"RelatedPerson/RelatedPersonPermanent\",\r\n            \"resource\": {\r\n                \"resourceType\": \"RelatedPerson\",\r\n                \"id\": \"RelatedPersonPermanen\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/RelatedPersonPermanentBy\"\r\n                    ]\r\n                },\r\n                \"name\": [\r\n                    {\r\n                        \"family\": \"Смирнова\",\r\n                        \"given\": [\r\n                            \"Анна\",\r\n                            \"Владимировна\"\r\n                        ]\r\n                    }\r\n                ],\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/RelatedPersonMaritalStatus\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/MaritalStatus\",\r\n                                    \"code\": \"married\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"use\": \"usual\",\r\n                        \"type\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/PersonalDocumentType\",\r\n                                    \"code\": \"INP\",\r\n                                    \"display\": \"Уникальный идентификационный номер\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"value\": \"7111108A009PB8\"\r\n                    }\r\n                ],\r\n                \"active\": true,\r\n                \"patient\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"relationship\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/RelatedPersonType\",\r\n                                \"code\": \"mother\",\r\n                                \"display\": \"мать\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"telecom\": [\r\n                    {\r\n                        \"system\": \"phone\",\r\n                        \"value\": \"+375447556655\"\r\n                    }\r\n                ],\r\n                \"gender\": \"female\",\r\n                \"birthDate\": \"1971-04-30\",\r\n                \"address\": [\r\n                    {\r\n                        \"extension\": [\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/CoutryForAddresses\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/CitizenshipCode\",\r\n                                            \"version\": \"1.31\",\r\n                                            \"code\": \"BY\",\r\n                                            \"display\": \"Беларусь\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/StreetGeoRegistry\",\r\n                                \"valueCodeableConcept\": {\r\n                                    \"coding\": [\r\n                                        {\r\n                                            \"system\": \"https://fhir.by/ValueSet/StreetGeoRegistry\",\r\n                                            \"version\": \"1.3\",\r\n                                            \"code\": \"517030104916096191\",\r\n                                            \"display\": \"д.24\"\r\n                                        }\r\n                                    ]\r\n                                }\r\n                            },\r\n                            {\r\n                                \"url\": \"https://fhir.by/StructureDefinition/ApartmentRoom\",\r\n                                \"valueString\": \"кв. 1\"\r\n                            }\r\n                        ],\r\n                        \"use\": \"home\",\r\n                        \"text\": \"Беларусь, г. Минск, Улица Клары Цеткин, д.24\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleFluorography\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleFluorography\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportFluorography\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ReceivedRadiationDose\",\r\n                        \"valueQuantity\": {\r\n                            \"value\": 0.04,\r\n                            \"unit\": \"мЗв\",\r\n                            \"system\": \"https://fhir.by/ValueSet/UnitsOfMeasureBy\",\r\n                            \"code\": \"mSv\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"109/01\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/PreventChestXRay\",\r\n                            \"code\": \"A06-09-006-008-add\",\r\n                            \"display\": \"Рентгенография грудной клетки профилактическая на цифровом аппарате сканирующего типа (в одной проекции)\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-08-23T09:00:00Z\",\r\n                \"performer\": [\r\n                    {\r\n                        \"reference\": \"Organization/{{OrganizationId}}\"\r\n                    }\r\n                ],\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Очаговых и инфильтративных теней не определяется. Легочной рисунок усилен. \\n                Корни не расширены, структурны. Синусы свободны. Тень сердца отклонена влево. \\n                **Заключение:** органы грудной клетки без патологических изменений.\"\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Encounter/EncounterTest\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Encounter\",\r\n                \"id\": \"EncounterTest\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/EncounterGeneral\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfVisit\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfVisit\",\r\n                                    \"code\": \"card-digitization\",\r\n                                    \"display\": \"оцифровка медицинской карты\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"class\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                \"code\": \"1\",\r\n                                \"display\": \"амбулаторные\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"type\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/TypeOfHealthCare\",\r\n                                \"code\": \"absent\",\r\n                                \"display\": \"Отсутствует\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"serviceProvider\": {\r\n                    \"reference\": \"Organization/{{OrganizationId}}\"\r\n                },\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"actualPeriod\": {\r\n                    \"start\": \"2026-09-17T10:12:21Z\",\r\n                    \"end\": \"2026-09-17T10:25:21Z\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Condition/ExampleDiagnosisEndoscopy2\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Condition\",\r\n                \"id\": \"ExampleDiagnosisEndoscopy2\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/FinalDiagnosis\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/KindOfDiagnosis\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/KindOfDiagnosisCode\",\r\n                                    \"code\": \"Final\",\r\n                                    \"display\": \"Заключительный диагноз\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AssertedDate\",\r\n                        \"valueDateTime\": \"2026-05-10\"\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/CourseOfDisease\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/CourseOfDisease\",\r\n                                    \"code\": \"acute\",\r\n                                    \"display\": \"Острое течение заболевания\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FirstTimeRevealed\",\r\n                        \"valueBoolean\": true\r\n                    }\r\n                ],\r\n                \"clinicalStatus\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\r\n                            \"code\": \"active\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/InternClassificDiseases10\",\r\n                            \"code\": \"K29.7\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"K29.7 - Гастрит неуточненный\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"onsetDateTime\": \"2026-05-10\",\r\n                \"recordedDate\": \"2026-05-10\",\r\n                \"participant\": [\r\n                    {\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Гастрит неуточненный\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"Procedure/ExampleEndoscopyFGDS\",\r\n            \"resource\": {\r\n                \"resourceType\": \"Procedure\",\r\n                \"id\": \"ExampleEndoscopyFGDS\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/SurgicalProcedure\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/FromOrganization\",\r\n                        \"valueReference\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/EncounterTypeOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/EncounterTypeOfService\",\r\n                                    \"code\": \"free\",\r\n                                    \"display\": \"Бесплатные услуги\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/TermsOfService\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/VSTermsOfService\",\r\n                                    \"code\": \"1\",\r\n                                    \"display\": \"амбулаторные\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/AnesthesiaType\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/AnesthesiaType\",\r\n                                    \"code\": \"local\",\r\n                                    \"display\": \"местная анестезия\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ProcedureUrgency\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/ProcedureUrgency\",\r\n                                    \"code\": \"planned\",\r\n                                    \"display\": \"Плановое\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"12469\",\r\n                        \"assigner\": {\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"completed\",\r\n                \"category\": [\r\n                    {\r\n                        \"coding\": [\r\n                            {\r\n                                \"system\": \"https://fhir.by/ValueSet/ProcedureType\",\r\n                                \"code\": \"diagnostic\",\r\n                                \"display\": \"Диагностическая\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/SurgicalInterventions\",\r\n                            \"code\": \"JDE005\",\r\n                            \"display\": \"Гастроскопия с биопсией\"\r\n                        }\r\n                    ],\r\n                    \"text\": \"Гастроскопия с биопсией\"\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"encounter\": {\r\n                    \"reference\": \"Encounter/EncounterTest\"\r\n                },\r\n                \"occurrencePeriod\": {\r\n                    \"start\": \"2026-05-10T10:00:00Z\",\r\n                    \"end\": \"2026-05-10T10:30:00Z\"\r\n                },\r\n                \"performer\": [\r\n                    {\r\n                        \"function\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OperatingTeam\",\r\n                                    \"code\": \"endo\",\r\n                                    \"display\": \"врач-эндоскопист\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"actor\": {\r\n                            \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                        },\r\n                        \"period\": {\r\n                            \"start\": \"2026-05-10T10:00:00Z\",\r\n                            \"end\": \"2026-05-10T10:30:00Z\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"location\": {\r\n                    \"reference\": \"Location/{{LocationId}}\"\r\n                },\r\n                \"reason\": [\r\n                    {\r\n                        \"concept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/SurgicalInterventionDiagnosis\",\r\n                                    \"code\": \"postoperative\",\r\n                                    \"display\": \"Диагноз после вмешательства\"\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"reference\": {\r\n                            \"reference\": \"Condition/ExampleDiagnosisEndoscopy2\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"note\": [\r\n                    {\r\n                        \"text\": \"Выполнено местное обезболивание. Пищевод свободно проходим. Слизистая пищевода бледно-розовой окраски. Розетка кардии смыкается полностью. \\n  В желудке слизь. Складки извитые, сочные. Слизистая желудка умеренно гиперемированная, отечная.\\n  Привратник округлой формы, проходим. Слизистая луковицы 12 п.к. бледно-розовой окраски. Взята биопсия из желудка, слизистая оболочка.\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"fullUrl\": \"DiagnosticReport/ExampleDRGeneralUrineAnalysis\",\r\n            \"resource\": {\r\n                \"resourceType\": \"DiagnosticReport\",\r\n                \"id\": \"ExampleDRGeneralUrineAnalysis\",\r\n                \"meta\": {\r\n                    \"profile\": [\r\n                        \"https://fhir.by/StructureDefinition/DiagnosticReportLab\"\r\n                    ]\r\n                },\r\n                \"extension\": [\r\n                    {\r\n                        \"url\": \"https://fhir.by/StructureDefinition/ResearchMethods\",\r\n                        \"valueCodeableConcept\": {\r\n                            \"coding\": [\r\n                                {\r\n                                    \"system\": \"https://fhir.by/ValueSet/OlisMethodsSplit\",\r\n                                    \"code\": \"2\",\r\n                                    \"display\": \"Автоматизированное определение\"\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"identifier\": [\r\n                    {\r\n                        \"value\": \"1236\",\r\n                        \"assigner\": {\r\n                            \"extension\": [\r\n                                {\r\n                                    \"url\": \"https://fhir.by/StructureDefinition/LocationReference\",\r\n                                    \"valueReference\": {\r\n                                        \"reference\": \"Location/{{LocationId}}\"\r\n                                    }\r\n                                }\r\n                            ],\r\n                            \"reference\": \"Organization/{{OrganizationId}}\"\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"final\",\r\n                \"code\": {\r\n                    \"coding\": [\r\n                        {\r\n                            \"system\": \"https://fhir.by/ValueSet/TypesOfLabTests\",\r\n                            \"code\": \"1.1\",\r\n                            \"display\": \"Клинический анализ мочи, скрининг\"\r\n                        }\r\n                    ]\r\n                },\r\n                \"subject\": {\r\n                    \"reference\": \"Patient/{{patientId}}\"\r\n                },\r\n                \"issued\": \"2026-09-26T15:00:00Z\",\r\n                \"resultsInterpreter\": [\r\n                    {\r\n                        \"reference\": \"PractitionerRole/{{PractitionerRole}}\"\r\n                    }\r\n                ],\r\n                \"conclusion\": \"Показатели мочи в норме\"\r\n            }\r\n        }\r\n    ]\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/$import",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Bundle",
                "$import"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение статуса импорта пакета медицинской информации",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Bundle/{{bundleId}}/$status",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Bundle",
                "{{bundleId}}",
                "$status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Получение сводной информации о пациенте",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/$everything?start=2026-07&end=2026-09",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "$everything"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "2026-07"
                },
                {
                  "key": "end",
                  "value": "2026-09"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации о закреплении пациента за медицинской организацией",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Contract?_profile=https://fhir.by/StructureDefinition/PlaceOfCare&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Contract"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/PlaceOfCare"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск заключения профилактической рентгенографии грудной клетки",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();\r",
                  "let Fluorography = jsonData.entry.find(obj => obj.resource.resourceType === \"DiagnosticReport\").resource.id;\r",
                  "\r",
                  "pm.collectionVariables.set(\"Fluorography\", Fluorography);\r",
                  "console.log(Fluorography)"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/DiagnosticReport?_profile=https://fhir.by/StructureDefinition/DiagnosticReportFluorography&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "DiagnosticReport"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/DiagnosticReportFluorography"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Поиск информации об оперативном или диагностическом вмешательстве, проведенных пациенту",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{Schema}}://{{Proxy-host}}/fhir/Patient/{{patientId}}/Procedure?_profile=https://fhir.by/StructureDefinition/SurgicalProcedure&_sort=-_lastUpdated",
              "protocol": "{{Schema}}",
              "host": [
                "{{Proxy-host}}"
              ],
              "path": [
                "fhir",
                "Patient",
                "{{patientId}}",
                "Procedure"
              ],
              "query": [
                {
                  "key": "_profile",
                  "value": "https://fhir.by/StructureDefinition/SurgicalProcedure"
                },
                {
                  "key": "_sort",
                  "value": "-_lastUpdated"
                }
              ]
            }
          },
          "response": []
        }
      ]
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "clientId",
        "value": "mis_agsr_web_application",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://preprod.cisz.by/auth/api/realms/iehr/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://preprod.cisz.by/auth/api/realms/iehr/auth",
        "type": "string"
      },
      {
        "key": "tokenName",
        "value": "preprod",
        "type": "string"
      },
      {
        "key": "addTokenTo",
        "value": "header",
        "type": "string"
      },
      {
        "key": "client_authentication",
        "value": "body",
        "type": "string"
      },
      {
        "key": "redirect_uri",
        "value": "https://oauth.pstmn.io/v1/callback",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code_with_pkce",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "motherPatientId",
      "value": ""
    },
    {
      "key": "newbornPatientId",
      "value": ""
    },
    {
      "key": "patientId",
      "value": ""
    },
    {
      "key": "targetId",
      "value": ""
    },
    {
      "key": "sourceId",
      "value": ""
    },
    {
      "key": "bundleId",
      "value": ""
    },
    {
      "key": "StatusUrl",
      "value": ""
    },
    {
      "key": "identifier",
      "value": ""
    },
    {
      "key": "clinicalImpressionId",
      "value": ""
    },
    {
      "key": "MergeStatusUrl",
      "value": ""
    },
    {
      "key": "diagnosticReportId",
      "value": ""
    },
    {
      "key": "docIdentifier",
      "value": ""
    },
    {
      "key": "docIdentifierValue",
      "value": ""
    },
    {
      "key": "modality",
      "value": ""
    },
    {
      "key": "StudyInstanceUID",
      "value": ""
    },
    {
      "key": "SeriesInstanceUID",
      "value": ""
    },
    {
      "key": "InstanceUID",
      "value": ""
    },
    {
      "key": "ImagingStudyID1",
      "value": ""
    },
    {
      "key": "Fluorography",
      "value": ""
    },
    {
      "key": "ImmunizationById",
      "value": ""
    },
    {
      "key": "DeviceId",
      "value": ""
    }
  ]
}